Post B4wahw41owKremjOS0 by Erpel@hai.z0ne.social
(DIR) More posts by Erpel@hai.z0ne.social
(DIR) Post #B4wZj8CA6Qm1cHXeim by Erpel@hai.z0ne.social
0 likes, 0 repeats
Sometimes I feel like I should learn some other programming language then Python.Like C++ or something that is nice for Linux. But then there is always the first steep learning curve of "getting started" that takes some time to get over.Suggest me a nice language I can run on my Linux system without issues if you feel like it.
(DIR) Post #B4wZxkonIe0NSSaIim by icedquinn@blob.cat
0 likes, 0 repeats
@Erpel ada :neocat_googly:
(DIR) Post #B4waBX3BHkweoNsqi8 by desea@snug.moe
0 likes, 0 repeats
@Erpel i mean what would you want out of those languages outside of a sense of being "nice for linux?" like if a python script works for something thats usually good enough for me(unless im doing some bullshit like i did for my random picker because i couldnt be assed figuring out the bash command for picking out a random line)
(DIR) Post #B4waBXEActjfMT1cq8 by Erpel@hai.z0ne.social
0 likes, 0 repeats
@desea@snug.moe it's more like learning something new and something faster than python. it's nice and everything but sometimes I feel like relying too much on import
(DIR) Post #B4wahvsgV7GH5bQKlk by desea@snug.moe
0 likes, 0 repeats
@Erpel like not reimplementing existing things yourself? from my experience its nice as a hobby thing to try and fiddle with stuff yourself but theres a reason most people end up importing stuff instead of rolling their own because its so much effort to do it for everything, or do you mean something else
(DIR) Post #B4wahw41owKremjOS0 by Erpel@hai.z0ne.social
0 likes, 0 repeats
@desea@snug.moe I don't mind importing libraries. it's just I want to learn stuff again that's not python. that's why I gave the example in C++.Still would write some bots doing stuff on an API, so I don't need to write a full wrapper for GET and POST requests.
(DIR) Post #B4warstOT1RIiTV72G by kura@hai.z0ne.social
0 likes, 0 repeats
@Erpel I'd say go (its easy) or rust. i personally don't like c or c++, though I would start with modern c most likelydo not Learn old c or c++. the language evolved.
(DIR) Post #B4wbOjVkMrsFB16UU4 by Erpel@hai.z0ne.social
0 likes, 0 repeats
@kura old c? new c?I only wrote C for microcontroller lately (only a little bit)
(DIR) Post #B4wba93XjRzjaZLxom by kura@hai.z0ne.social
0 likes, 0 repeats
@Erpel https://en.cppreference.com/w/c/language/history.htmlwe are currently at c23 (and c++23 I think. )
(DIR) Post #B4wfWsGc64ysSxA9EO by mateusz6768@esp32fedi.cjdgrevival.com
0 likes, 0 repeats
CC: @Erpel@hai.z0ne.socialBut what if i want to target old systems that don't have C23 support like 8051 microcontrollers which use SDCC that only support up to C11?
(DIR) Post #B4wfWsTNKdBn6X8L7g by kura@hai.z0ne.social
0 likes, 0 repeats
@Erpel@hai.z0ne.social @mateusz6768@esp32fedi.cjdgrevival.com either get a compiler that can write that standard, or compile with that "legacy" compiler and remove the features used that aren't available. you get helpful compile errors
(DIR) Post #B4whuKVbSczIcoUCp6 by ullard@shitposter.world
0 likes, 0 repeats
@Erpel Learning a bit of AWK is useful still. Shell script, too; just don't use it for anything that needs to be fast or have data structures more complicated than a single stack
(DIR) Post #B4whuKiifrTnHUcgGe by Erpel@hai.z0ne.social
0 likes, 0 repeats
@ullard@shitposter.world I know the basics of bash script. use it to automate stuff on the VM @kura provides for me.
(DIR) Post #B4wp5yDAt1VccqMd6W by mezzodrinker@social.mezzo.moe
0 likes, 0 repeats
@Erpel If you want a motivation along with a programming language: Several games support mods written in Lua.
(DIR) Post #B4wwZ266DWpSkprN1U by Suiseiseki@freesoftwareextremist.com
0 likes, 0 repeats
@icedquinn @Erpel GNU ada is an excellent choice too.
(DIR) Post #B4wwZ2IrS52NOPpYum by EdBoatConnoisseur@poa.st
0 likes, 0 repeats
i've been considering getting into either ada or some lisp, dunno what to go for tbh