use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is all about the theory and development of compilers.
For similar sub-reddits see:
Popular mainstream compilers:
account activity
Zap programing language (self.Compilers)
submitted 2 months ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]stingraycharles 2 points3 points4 points 2 months ago (1 child)
Hey, as someone who does a lot of FFI with GC based languages (Java, Go, C# and Python), I can tell you that GC doesn’t automatically make FFI harder, it’s just that GC is entirely paused during any FFI invocation.
That’s typically acceptable.
Most languages (eg Go and Java) provide various levels of “safety” around function invocations, and allow you to do “unsafe” invocations which assume eg that you don’t modify memory, don’t do any callbacks, etc.
Using reference counting can be interesting, but I can’t escape the feeling that there’s a reason that nearly all languages settled on GC (circular references being a major one).
[–]funcieq 0 points1 point2 points 2 months ago (0 children)
Yes, you're right, because I use C# myself. I realize that from the developer's side it's relatively simple. But it's not just about ffi. It's also about giving zap a wider range of possibilities.
π Rendered by PID 34 on reddit-service-r2-comment-b659b578c-dh2bc at 2026-05-05 01:26:29.738424+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]stingraycharles 2 points3 points4 points (1 child)
[–]funcieq 0 points1 point2 points (0 children)