Live data from Hacker News

Eul – The language

eul.im

1–10 of 33 posts

Re: Eul – The language

#7
Every single macOS download I've tried of Eul has been completely broken. It simply won't launch. Doing so from the Terminal gives the following output:

  dyld: Library not loaded: libnanovg.a
    Referenced from: /Applications/eul.app/Contents/MacOS/./eul
    Reason: image not found
Weirdly, `otool -L eul` tells me that eul links against no dynamic libraries whatsoever (not even libSystem) and `otool -l eul` backs this up. I'm really curious how Eul managed to have zero dynamic library dependencies in the Mach-O headers and yet clearly still depends on them (especially because on macOS you must link against libSystem or you can't even make syscalls).

Re: Eul – The language

#8
I'd love to hear more. Maybe I'm a bit confused: the documentation says that functions are pure, and then the example functions look like they are full of side-effects. Does anyone have a good explanation of how purity and effects work in Eul?

Re: Eul – The language

#9
post #3
post #2

It sounds interesting. Is the language open-sourced?

> The language will be open-sourced later in 2018.

Given the relationship between eul author and deadlines it won't happen in 2018. Author also promised to open-source eul itself at first but last statement is "I'm not 100% sure it's going to be possible."[0]

Current state of eul app also hinting that most likely nothing of value would be lost if this language won't be open-sourced.

[0] - https://github.com/eul-im/eul/issues/45#issuecomment-3356427...

Re: Eul – The language

#10
Normally I think "rewrite it in Rust!" comments are annoying, but in this case the author's requirements sound pretty relevant:

- integration with C libraries

- overhead similar to C

- more productive than C

- "Variables are immutable by default, globals are not allowed, functions are pure."

That does sound an awful lot like Rust, at least if we kind of squint our eyes at the purity requirement :) I wonder if the original author considered it?

Post reply on HN