so I'm learning go-lang.
Turns out that the function to cast a string into int is called Atoi.
Conversation
oh and with a less-than-2mb memory footprint? Actually I don't care that much about the memory
1
I wouldn't see a reason why not.
1
ok that is interesting. I'll continue with go for today because I need to get this done soon, but I'll check it out
1
Replying to
It's definitely a strange name, but understandable seeing as Go was designed by Pike and Thompson: cplusplus.com/reference/cstd
Replying to
"atoi: ASCII to integer" stackoverflow.com/a/2909772/6794 – no idea if Go's is unicode though - then it would be even weirder. ^_^
1
1
Show replies


