7 ms·
Gluon – A configurable and small virtual machine which runs Erlang BEAM bytecode
- salimmadjd 8y agoOt: please lessen the “DRAFT” stamp. It makes it very hard to read
- sbr464 8y agoI just right click -> Adblock -> remove element
- chatmasta 8y agouBlock origin has a "zap" feature for this that I just discovered the other day.
- fnordsensei 8y agoMobile user here… It's even worse (I imagine), and unfixable from mobile Safari.
- unwind 8y agoAgree, and another meta-comment would be to move to "MB" or "MiB", instead of using "Mb" to mean "mega byte", which is very confusing.
- mikece 8y agoUse Firefox’s reading mode... solves issues like that easily. :-)
- kvakvs 8y agoThis is outdated article draft which wasn't published a few years ago when it was fresh, and now it is outdated. It accidentally escaped and now is automatically posted on HN.
- lucian 8y agoit looks there is also a more recent proof of concept work to implement the Erlang VM in Rust: https://github.com/kvakvs/ErlangRT https://github.com/kvakvs/ErlangRT
- akavel 8y agoCool subtitle :) lighthearted, and gives good overview of author's position: "Good news: I know what to do. Bad news: I have no clue how to Rust"
- _pmf_ 8y agoWouldn't targeting GraalVM make sense, too?
- cube2222 8y agoCould you elaborate please? Why do you think would it make sense?
- chrisseaton 8y agoIt'd be great to see what a state-of-the-art optimising compiler can do for the performance of Erlang and Elixir.
- giancarlostoro 8y agoWhile it would be nice this companys focus seems to be towards Erlang specifically so they may have their reasons not to have gone that route. Would be nice to hear what those reasons are for sure.
- jerf 8y agoGiven the not-all-that-great improvement of a targeted attempt to speed up Erlang with HiPE, I wouldn't hold your breath for how well a non-targeted approach would go. Unfortunately, Erlang-the-language has several features that seem to be fundamentally slow, in that I've never seen any runtime that goes quickly with them. (A lot of memory copying, for one, even after being as clever as possible with optimizations on that front.) (I no longer believe in the line that there are no slow languages. In practice, there seem to be, and languages in practice seem to plateau at certain performance levels no matter how much effort is put into them. Those who wish to argue are welcome to produce the fast-as-C-at-everything Javascript interpreter or some similar artifact and I will happily retract.) Erlang is still a fine language and it's performance is well in line with several other popular languages; by no means would I say it is unusable. It's just that real engineers need to have clear understandings of the costs and benefits of their tools, which includes understanding not all languages have the same speed characteristics.
- pjmlp 8y agoWe barely had FB and Sonar, to just get yet another example of how badly to name projects. http://gluonhq.com/ http://gluonhq.com/
- Y_Y 8y agohttps://github.com/KDE/gluon https://github.com/KDE/gluon
- lhenault 8y agoIndeed : https://gluon.mxnet.io/ https://gluon.mxnet.io/
- giancarlostoro 8y agoHonestly I have never heard of any of those and so long as they aren't too close in what their intended use is I don't see the issue. Worse case it can just be called GluonVM then you have no ambiguity as to what you're talking about. Naming can be a pain. The worst I've seen so far was the WAMP protocol we saw posted sometime back.
- INTPenis 8y agoGluon is also a freifunk project for mesh networking. https://github.com/freifunk-gluon https://github.com/freifunk-gluon
- joshsharp 8y agoGluon is also a language built on Rust: https://github.com/gluon-lang/gluon https://github.com/gluon-lang/gluon
- kjeetgill 8y agoWhich I heard of for the first time only weeks ago and thought this was.
- DoofusOfDeath 8y agoAlso part of the name of a fictional weapon: http://combineoverwiki.net/wiki/Gluon_Gun http://combineoverwiki.net/wiki/Gluon_Gun
- neya 8y agoWould Elixir be able to support this? If yes, then it could be a huge deal (atleast for me). Imagine writing a POS system's code in Elixir. That'd be very nice, although I understand at this point this is just wishful thinking.
- cube2222 8y agoActually, in the article it's written, that it's supposed to run elixir amongst others.
- neya 8y agoWow, I totally missed it because of the tiny font size. Thanks!
- mikece 8y agoI know of a company who implemented a POS in Elixir in Phoenix running in web kiosk mode. I don’t know any further details and probably couldn’t share them if I did but this scenarios has been done with BEAM.
- neya 8y agoWow, that's cool. Would be very interested to keep track of the progress of that..
- brightball 8y agoSeems like this will make it into Nerves fairly quickly.
- deleted 8y ago[deleted]
- digitalzombie 8y agoIs the art created from the same artist that did art for the book learnyousomeerlang.com? I'm glad Erlang and Elixir are slowly getting popular and going into other spaces such as hardware apparently.
- kvakvs 8y agoThe technology for the art is called Wacom Bamboo and I was overdrawing the Erlang logo with some hand scribbles in Inkscape. In fact same technology seems to be used for the original LYSE book and I was using it to translate text in images in Russian translation for the LYSE book.
- mononcqc 8y agoFor Learn You Some Erlang, I used hand-made drawings that I would scan, and then trace over using either photoshop (initially) and then Illustrator (when I knew the book would go to print).
- kvakvs 8y agoGreetings! Author is here. We have no idea how this blog draft escaped into HN, but here it is a few years too late. The Gluon project https://github.com/kvakvs/gluonvm1 https://github.com/kvakvs/gluonvm1 isn't live anymore, it was using C++ and it was stopped a couple years ago giving way to other experiments ( https://github.com/kvakvs/E4VM https://github.com/kvakvs/E4VM ) and finally to ErlangRT mentioned below https://github.com/kvakvs/ErlangRT https://github.com/kvakvs/ErlangRT My talk with me explaining the whole thing on EUC 2017 (Stockholm) is here https://youtu.be/6NUPormxgw8?list=PLWbHc_FXPo2jAL3fm0YfN3nFVj6OyQcu2 https://youtu.be/6NUPormxgw8?list=PLWbHc_FXPo2jAL3fm0YfN3nFV... The new ErlangRT project in Rust is much more recent; clean strictly typed code with some 'unsafe'ties and a good PoC progress. But it also was stopped because the amount of work to do in it quickly grows but my free time doesn't grow at all. This increased interest might actually make me rethink my priorities and look at it again.
- deleted 8y ago[deleted]
- rkangel 8y agoIt's great to hear interest in this area - the more places I can run Erlang/Elixir, the more likely I am to use it even in the places it can traditionally run (it's a more useful language to me if I can use the same codebase everywhere). If you are looking to make an embedded focused VM, obviously ARM is the most useful target to run on.
- kvakvs 8y agoBy using C++ and Rust obviously ARM was on my mind, and I have plenty of test boards ranging from 192kb to hundreds MB of RAM to experiment with. It just never reached that stage. The two main ideas were to be different implementation for large machines (ErlangRT) or to be small (E4VM and gluonvm1).
- rubyn00bie 8y agoIs there a platform the BEAM doesn't currently target? I'm not aware of anything that isn't completely esoteric... You can run it on ARM currently. BEAM has been in use for over 20 years in telephone systems running on insanely old and bizarre hardware. Is there a platform you have in mind besides ARM?
- mattparlane 8y ago$('img[alt="Draft"]').remove();
- migueltarga 8y ago404 Ooops It looks like that page you tried to explore went extinct, or you typed in the wrong address. Check the URL again or go back to our home page
- kvakvs 8y agoI asked to unpublish it. Please read my top comment.
- tgdn 8y agoDead link
- qop 8y ago"Last commit was over 2 years ago" is a common phrase when it comes to Erlang. Of course, I'd consider Erlang to be one of the best platforms in terms of stability. It's rare that they double back on old features.
- deleted 8y ago[deleted]
- hengestone 8y agoCheck out https://github.com/bettio/AtomVM https://github.com/bettio/AtomVM which seems to be a similar project that's actively developed.