Re:Years in Common Lisp: 2022 in review
by crapaud23 on Tuesday January 10, 2023 @10:03AM
(#34325869)
For me it's microcontrollers, however I've heard in spite of the unmaintained status, clojure-scheme[1] is very usable. It uses gambit to produce C-code you can compile anywhere.
Re:Years in Common Lisp: 2022 in review
by yoyohello13 on Tuesday January 10, 2023 @10:27AM
(#34326251)
I'm with you on stock JVM. The slow startup time is often a deal breaker for me. But there are projects that address this. Like https://github.com/babashka/babashka for Clojure. Or GraalVM for general JVM use.
Re:Years in Common Lisp: 2022 in review
by richard_todd on Tuesday January 10, 2023 @10:30AM
(#34326284)
How do you control memory layout in Common Lisp?
Re:Years in Common Lisp: 2022 in review
by iainctduncan on Tuesday January 10, 2023 @10:38AM
(#34326416)
you might be interested in embedded Schemes. I use s7, which shares a lot of features with both CL and Clojure (for a Scheme) and is very easy to embed in C or C++ apps. I use it for music coding, but others (e.g. Naughty Dog) have done it for games. It's a super fun way to develop. My high level code is mostly Scheme, interfacing with low level C.
Re:Years in Common Lisp: 2022 in review
by itsautomatisch on Tuesday January 10, 2023 @11:40AM
(#34327513)
I don't see how the JVM is a "poor fit for games" when it's entirely contextual towards the goals of the game itself. Garbage collection also does not automatically disqualify an environment from games development, and there are plenty of games made in garbage-collected languages out there by both hobbyists and professionals using frameworks like LibGDX and Monogame/FNA/XNA. Depending on the kind of game, sure, the JVM might not be the right choice (or a choice at all), but for most people they likely will be too busy trying to actually finish the game instead of tuning for performance.
Unsure what's so wierd about it, everyone (most) knows about slow cold startup times, and inability to control memory layout in JVM. Also, horrible C bindings