sos,
@sos@mastodon.gamedev.place avatar

Every single time I check out one of those upcoming shiny new programming languages that claim to be simple:

mike,
@mike@jammer.social avatar

@sos Reminds me of every JavaScript library, they all claim to be "lightweight" yet they end up being 100k. 🤦

raptor85,
@raptor85@mastodon.gamedev.place avatar

@mike @sos I forget which site I was looking at the other day but I was curious as to why everything on it was running so slow..they had like 20MB of javascript libraries loading just for some simple dropdown menus...you know...like the ones HTML5 supports without any scripting whatsoever.

Javascript is a blight on the web....

mike,
@mike@jammer.social avatar

@raptor85 @sos lol, it probably wasn't Medium, but that's how I often feel every time I visit (for a blog site this is remarkably slow).

jack,
@jack@xeno.glyphpress.com avatar

@sos nobody remembers how Ruby worked out for Twitter

mike,
@mike@jammer.social avatar

@jack @sos I'm going to assume it's why Elon took over and renamed it X, because nothing makes sense over there.

sos,
@sos@mastodon.gamedev.place avatar

I just checked out NIM and it says "Simple Example" right there, and it does stuff that C can do but in way more steps.

A 2024 programming language that's more convoluted than C from 1975 calling itself "simple"

sos,
@sos@mastodon.gamedev.place avatar

Then there's Crystal, that insists on NOT using parenthesis, yet adapted the dumbest operator from C++, the double colon ::

eniko,
@eniko@peoplemaking.games avatar

@sos the nim guy is an unhinged right wing bigot so that's probably enough of a reason to pass on that one https://peoplemaking.games/@eniko/110652598034999459

sos,
@sos@mastodon.gamedev.place avatar

@eniko Oh that's why the hashtag summoned the trolls.

sos,
@sos@mastodon.gamedev.place avatar

And Carbon, aka "What if C++ but only the bad parts"

sos,
@sos@mastodon.gamedev.place avatar

Oh and then there's Odin, Turbo Pascal with emojis!

sos,
@sos@mastodon.gamedev.place avatar

I was trying to look for Squirrel replacement for my scripting system and came across Wren too. That tagline at the beginning gives me chills and I don't understand anythign else that's going on there.

raptor85,
@raptor85@mastodon.gamedev.place avatar

@sos one of my current goals with my new engine (well, "new" as in being updated from the same basic codebase I've used since like 2001) is to allow M68k and Z80 asm to be used as scripting languages.

insomniac_lemon, (edited )
insomniac_lemon avatar

@sos

As a not-really-programmer, Nim is the best that I've seen with easy syntax that still offers performance and flexibility (so I can agree on the other languages not being simple in this same way). Simple in the higher-level stuff it gives you, allowing multiple/easier ways do things. I know this is a different type of simple than you probably mean, which is the language itself being smaller (less concepts to know and less to go wrong, but more manual work). But with Nim you don't need to know everything to work at a script-like level (and nimscript is even a subset of the language) and memory management can be tweaked or disabled if you know what you're doing.

Though Nim is somewhat niche (lacking community), I can see why some things like whitespace and other choices may be polarizing (though I like them), and I don't disagree with the point that @eniko made (that also caused a big contributor to quit, the creator of Nim's package manager, so that made the bus factor worse).

Sidenote, I didn't fully implement it but here is some of my Nim code for loading a polygon from a text file (format example) (readability note: instead of something like float32(i) I could've done i.float32). Though this is via for Raylib bindings, I know that using libraries like this probably makes language differences a bit more trivial, and maybe there are people who can write more-readable C this way.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programming
  • kavyap
  • normalnudes
  • everett
  • DreamBathrooms
  • ethstaker
  • magazineikmin
  • thenastyranch
  • Youngstown
  • GTA5RPClips
  • slotface
  • khanakhh
  • vwfavf
  • rosin
  • mdbf
  • provamag3
  • Leos
  • Durango
  • tacticalgear
  • InstantRegret
  • cubers
  • osvaldo12
  • ngwrru68w68
  • anitta
  • tester
  • modclub
  • cisconetworking
  • megavids
  • JUstTest
  • All magazines