# What would you like to see in Erlang or the BEAM world?

**URL:** <https://erlangforums.com/t/what-would-you-like-to-see-in-erlang-or-the-beam-world/796>\
**Category:** Chat / Discussions\
**Tags:** beam, interop, static-typing, discussion\
**Created:** [December 13, 2021, 12:40am UTC](https://erlangforums.com/t/what-would-you-like-to-see-in-erlang-or-the-beam-world/796 "2021-12-13T00:40:19Z")\
**Posts on this page:** 6\
**Page:** 3

<div class="post-metadata">

**Author:** ![OvermindDL1](https://erlangforums.com/user_avatar/erlangforums.com/overminddl1/32/398_2.png) [@OvermindDL1](https://erlangforums.com/u/OvermindDL1)\
**Post date:** [January 5, 2022, 4:52pm UTC](https://erlangforums.com/t/what-would-you-like-to-see-in-erlang-or-the-beam-world/796/42 "2022-01-05T16:52:12Z")

</div>

With JIT on linux here I have:

```erlang
❯ time erl -mode minimal -noinput -boot no_dot_erlang -eval 'erlang:halt()'
0.09user 0.07system 0:00.10elapsed 158%CPU (0avgtext+0avgdata 44188maxresident)k
0inputs+0outputs (707major+8982minor)pagefaults 0swaps

```

---

<div class="post-metadata">

**Author:** ![starbelly](https://erlangforums.com/user_avatar/erlangforums.com/starbelly/32/209_2.png) [@starbelly](https://erlangforums.com/u/starbelly)\
**Post date:** [January 5, 2022, 7:38pm UTC](https://erlangforums.com/t/what-would-you-like-to-see-in-erlang-or-the-beam-world/796/43 "2022-01-05T19:38:38Z")

</div>

M1, no jit, 24.2 :

```erlang
$ time erl -mode minimal -noinput -boot no_dot_erlang -eval 'erlang:halt()                                                       

________________________________________________________
Executed in 75.78 millis fish external
   usr time 66.32 millis 47.00 micros 66.28 millis
   sys time 46.55 millis 670.00 micros 45.88 millis

```

M1, jit, OTP master (f8e41f85)

```erlang
$ time /usr/local/bin/erl -mode minimal -noinput -boot no_dot_erlang -eval 'erlang:halt()   
________________________________________________________
Executed in 228.06 millis fish external
   usr time 110.86 millis 0.06 millis 110.80 millis
   sys time 49.60 millis 1.58 millis 48.02 millis

```

Same as above, but without jit :

```erlang
time /usr/local/bin/erl -mode minimal -noinput -boot no_dot_erlang -eval 'erlang:halt()'                                              

________________________________________________________
Executed in 75.26 millis fish external
   usr time 63.80 millis 0.06 millis 63.74 millis
   sys time 49.44 millis 1.54 millis 47.90 millis

```

---

<div class="post-metadata">

**Author:** ![max-au](https://erlangforums.com/user_avatar/erlangforums.com/max-au/32/1627_2.png) [@max-au](https://erlangforums.com/u/max-au)\
**Post date:** [January 7, 2022, 5:21am UTC](https://erlangforums.com/t/what-would-you-like-to-see-in-erlang-or-the-beam-world/796/44 "2022-01-07T05:21:42Z")

</div>

I found making CLI in Erlang somewhat challenging for unrelated to boot speed reasons. In fact I don’t care much if it takes 0.1 or 0.2 sec to execute a CLI, but what I do care about is:

- redistributable ERTS and/or some other way of minimised packaging. Right now Erlang assumes that ERTS/escript is somehow installed on the local system (similar to JRE, Python, …), but I’d really prefer GoLang approach - packaging dependencies in the executable itself. Like a minified self-contained escript
- build-in command line parser/CLI framework for Erlang. The one I maintain (`argparse`) is a separate package making it even harder to create a redistributable CLI

---

<div class="post-metadata">

**Author:** ![dch](https://erlangforums.com/user_avatar/erlangforums.com/dch/32/962_2.png) [@dch](https://erlangforums.com/u/dch)\
**Post date:** [January 20, 2022, 8:04am UTC](https://erlangforums.com/t/what-would-you-like-to-see-in-erlang-or-the-beam-world/796/45 "2022-01-20T08:04:36Z")

</div>

> [@dch](#):
>
> - something like eleveldb but actually built in, maybe even into dets or mnesia
> - remove the annoying GB limits in dets
> - native ability to build & ship a single binary, instead of just a release; I’m aware of escripts, and other addons but a proper “give me a go or rust style binary

I forgot this, but it regularly bugs me:

- a “proper wrapper” for dealing with external processes

There’s a wealth of almost-complete community solutions, but not all of them are friendly licensed, and many of them require yet another shim tool in C or go, or occasionally even in shell scripts.

---

<div class="post-metadata">

**Author:** ![lpil](https://erlangforums.com/user_avatar/erlangforums.com/lpil/32/222_2.png) [@lpil](https://erlangforums.com/u/lpil)\
**Post date:** [January 20, 2022, 12:40pm UTC](https://erlangforums.com/t/what-would-you-like-to-see-in-erlang-or-the-beam-world/796/46 "2022-01-20T12:40:26Z")

</div>

> [@dch](#):
>
> - a “proper wrapper” for dealing with external processes
> 
> There’s a wealth of almost-complete community solutions, but not all of them are friendly licensed, and many of them require yet another shim tool in C or go, or occasionally even in shell scripts.

Ah what a great idea! This would remove one common source of confusion and pain for newcomers.

---

<div class="post-metadata">

**Author:** ![OvermindDL1](https://erlangforums.com/user_avatar/erlangforums.com/overminddl1/32/398_2.png) [@OvermindDL1](https://erlangforums.com/u/OvermindDL1)\
**Post date:** [January 20, 2022, 4:32pm UTC](https://erlangforums.com/t/what-would-you-like-to-see-in-erlang-or-the-beam-world/796/47 "2022-01-20T16:32:42Z")

</div>

Yeah, there are some great libraries that use C shim programs to navigate the normal process control, it would be fantastic if the functionality of those external programs were capable of by the main BEAM itself.

[Previous page](https://erlangforums.com/t/what-would-you-like-to-see-in-erlang-or-the-beam-world/796.md?page=2)
