languages i really wanna learn :
racket
rust
C

languages i kinda wanna learn :
lua
nix

languages i dont really wanna learn, but probs should :
go
{java/ type} script
kotlin?

bonus round (shells) pick one:
elvish
oil shell
xonsh

setting intentions with this post

@aynish thins i was saying do C and work up from there.

@aynish i think if you learn c then you can learn lua in something like 15 minutes and then you can also have a great time binding it to your own c code

@nonmateria
@aynish yeah +1 for the lua/c combo. Lua is good at things that are hard/tedious to do in C, and vice versa.

@paul @aynish
yeah *cough cough* strings *cough cough*

and if you like LISP you can also use fennel, and luajit is FAST

@neauoire @nonmateria @aynish it's very easy to mess up dynamically allocated null-terminated strings in C. Lua has a decent set of string utilities their standard library, as well as a very convenient concatenation operator.

@paul @nonmateria @aynish ah okay, I misread nic's toot thinking the issue was with Lua's strings.

Yeah, if you're not used to it, strings in C can be a bit tough when you're coming from like Javascript or ruby.

@neauoire @paul @nonmateria @aynish the problems with C strings go deeper than just being hard to use. See "Accidentally Quadratic"

@neauoire @paul @nonmateria @aynish also like, 90% of every major world breaking security bug is thanks to C strings.

@zens @paul @nonmateria @aynish I haven't really used sscanf and that sort of magic yet. I'm not familiar with that stuff. I do a lot of string parsing in C, but I try to stay away from the stuff in string.h

@neauoire @paul @nonmateria @aynish as long as you don’t need to prove your software correct it’s probably fine. i kinda wish pascal had won the popularity contest though. (it’s got better strings)

@zens @neauoire @paul @aynish

"A c implementation of tic-tac-toe in a single call to printf. Written for IOCCC 2020."

github.com/carlini/printf-tac-

@neauoire @paul @nonmateria @aynish back on topic, my vote goes for lua: it’s like javascript if you fixed all its mistakes

@zens @neauoire @paul @nonmateria ngl, pico8, love2d and neovim config are big reasons for lua

@aynish let me know if you need directions. I have been playing with it for a while.

@aynish if you are not totally 200% sold on Rust, just know that :

amazing documentation
pretty good community
easy peasy embedded development !!
also you want web ? you got web. Wasmwasm.
did I mention the community is awesome ?
so. many. crates.
subjective but this language is the sole reason I love programming. error handling and safety the way it should be everywhere
just learn rust

:blob_fingerguns:

@aynish that's what I used to think, especially considering I have no previous programming education, but frankly The Book as they call it makes it a breeze I believe. Some concepts take longer to understand but once you get their application through a project I found the language in general very beginner friendly.

@aynish I haven't done more with nim than building the examples. Zig is tiny, it's good for making little scripts. It's my lua.

@aynish nim is so fun! it's like super fast static typed python with UFCS and super easy C interop. also if you haven't checked out zig, this video was a pretty interesting introduction imo m.youtube.com/watch?v=Gv2I7qTu

@metasyn oooh, you love nim! 😋 maybe i should just use nim instead of C?? i'll check out zig too :)

Sign in to participate in the conversation
Merveilles

Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.