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 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"

@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)

Follow

@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-

· · Web · 0 · 1 · 2
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.