Hacker Newsnew | past | comments | ask | show | jobs | submit | manojlds's commentslogin

I use opencode web (server running on my desktop) and accessing it from my phone and it works well.

Yeah ohmypi is garbage. The point is you have a thing shell and add your own on top by just talking to pi itself or pick in selective extensions.

Surely they mean Erlang not Elixir


addressed at the very top of the article

   A note on terminology: Throughout this post I refer to "the BEAM." BEAM is
   the virtual machine that runs both Erlang and Elixir code, similar to how the
   JVM runs both Java and Kotlin. Erlang (1986) created the VM and the
   concurrency model. Elixir (2012) is a modern language built on top of it with
   better ergonomics. When I say "BEAM," I mean the runtime and its properties.
   When I say "Elixir," I mean the language we write.

How is that addressing the title

Sounds to me like they mean “BEAM” rather than a specific language. But BEAM means Elixir for most newcomers.


Which is a real shame as if you actually spend some time with both you’ll probably eventually realise erlang is the nicer language.

Elixir just feels… Like it’s a load of pre-compile macros. There’s not even a debugger.


Do you have other examples of how it's nicer? I've only ever heard of Elixir being the nicer alternative.

This is gonna rankle folks who like one or the other, but they're basically the same language. When it comes to languages that run on the same VM, Erlang and Elixir are very close together. They aren't nearly as far apart as say, Java and Clojure.

Elixir adds a few things (a lisp-style macro system, protocols, UTF-8 as the default string type, a builtin build tool, streams) but Elixir is not a huge departure from Erlang in the way that Clojure is a huge departure from Java.

By far the biggest things you're going to learn when you learn either one are going to be the BEAM runtime itself and the OTP libraries, which both Elixir and Erlang have in common.


For example, Anand did very well in a recent rapid and blitz event amongst youngsters. But Anand was drubbed by Kasparov in a recent Freestyle event.


It's funny how I can know where the post is from just by looking at the title (and it's not just about pelicans)


So are there animals that see a violet sky?


How does this all compare to using pyodide?


I'm not super familiar with how pyodide works but I think it uses CPython compiled with Emscripten then needs to be run from a Javascript environment, and uses the browser's (or Node's) Wasm engine.

This uses CPython compiled to WASI and can (in theory) be run from any WASI-compatible Wasm runtime, in this case wasmtime, which has bindings in lots of languages. WASI uses capability based security rather than browser sandboxing and lets the host intercept any syscalls which is pretty cool. Wasmtime also lets you do things like epoch-based interruption, 'gas' for limiting instruction count, memory limits, and a bunch of other things that give you tons of control over the sandbox.

Pyodide/Emscripten might offer something similar but I'm not sure!


Thanks for the explanation, need to dive in deeper into wasm / wasi - I didn't realize there was a difference.


A lot of it IS using Pyodide, but wrapping it in a way that's convenient to use not-in-a-browser.


Just to be clear, it's some Indie Game awards, not the main The Game Awards


It's some random Indie award, not the main The Game Awards. Clair Obscur has enough publicity already and rightly so.


Btw a Chess Olympiad was declared drawn and shared winners after internet issues.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: