News for hackers. Stuff that matters.
Re:The Fennel Programming Language by Zambyte on Sunday September 08, 2024 @07:43PM (#41484238)
Maybe GNU Guile?
Re:The Fennel Programming Language by HexDecOctBin on Sunday September 08, 2024 @07:57PM (#41484304)
I am a bit biased against GNU libraries. Maybe irrationally so, but I haven't had a good experience with them all the way down from Glibc. They have a tendency to be developer-hostile in very high-handed ways (sort of how GNOME treats its users). I wonder how many people still remember this piece of code:

    __asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
Plus, the LGPL license will ensure that it can't be shipped on a multitude of platforms (iOS I believe, game consoles, etc.)
Re:The Fennel Programming Language by hatefulmoron on Sunday September 08, 2024 @08:57PM (#41484582)
> Plus, the LGPL license will ensure that it can't be shipped on a multitude of platforms (iOS I believe, game consoles, etc.)

Just for my understanding, is this based on the fact that these platforms don't allow the user to modify or upgrade Guile to another version in the future?

Re:The Fennel Programming Language by HexDecOctBin on Sunday September 08, 2024 @09:12PM (#41484670)
I believe that iOS simply didn't allow any LGPL code on App Store, though I don't remember the exact reasoning.
Re:The Fennel Programming Language by hatefulmoron on Sunday September 08, 2024 @09:42PM (#41484803)
(This is just from my very quick searching, so please correct me if I'm wrong.)

I don't think there's any restrictions on LGPL code for the App Store, but the restrictions I mentioned earlier are probably tricky to conform to[1].

[1]: https://stackoverflow.com/questions/35068054/does-app-store-...

Re:The Fennel Programming Language by HexDecOctBin on Sunday September 08, 2024 @09:50PM (#41484828)
Yeah, seems like even VLC is there. I remember that there used to be some issue with FSF licenses on the App Store, but it's been almost a decade, so I can't recall the details. I do remember switching out OpenAL-soft due to this issue.
Re:The Fennel Programming Language by solidsnack9000 on Sunday September 08, 2024 @11:39PM (#41485239)
"""

Hundreds of software projects today contain the mysterious line

    __asm__(".symver memcpy,memcpy@GLIBC_2.2.5");
as a lasting memory of this glibc debacle. I just added it to my code as well.

"""

https://www.win.tue.nl/~aeb/linux/misc/gcc-semibug.html

Re:The Fennel Programming Language by whartung on Sunday September 08, 2024 @07:50PM (#41484274)
You’d think Guile would work. That sounds like a Guile checklist to be honest.

But that said, my random forays into Guile have been met with frustration. I can’t say anything specific, but for whatever reason, whenever I tried to use it, I’d get no momentum on my little project du jour, and I’d shelve it once again, moving on to something else.

Perhaps next time it’ll click.

Re:The Fennel Programming Language by zelphirkalt on Monday September 09, 2024 @08:07AM (#41487767)
If I may briefly advertise my Guile examples repository: https://codeberg.org/ZelphirKaltstahl/guile-examples Perhaps it will be useful.
Re:The Fennel Programming Language by rcarmo on Monday September 09, 2024 @02:58AM (#41486090)
JITed Guile is interesting, but Guile itself seems to live in a weird superposition state—it’s been around forever but there aren’t a lot of projects actually using it, so you’re stuck trying to figure out the best ways to, say, serve HTTP or set headers on requests.
Re:The Fennel Programming Language by AHTERIX5000 on Monday September 09, 2024 @07:34AM (#41487518)
Last time I checked Guile it was somewhat hard to get working on Windows, build tooling was a classic autotools mess compared to Lua consisting of a few ANSI compatible C files.

Also Guile (and many other embeddable scripting languages) want to initialize global state which I'd prefer not to.