race conditions
-
Technically any language runtime can end in a segmentation fault.
For some languages, in principle this shouldn't be possible, but the runtimes can have bugs and/or you are calling libraries that do some native code at some point.
Even safe rust can do it, if we allow compiler bugs
-
This post did not contain any content.
Rust isn't shown because it's already completed the course
-
you can still segfault in rust iirc
Not in safe Rust. Only if you explicitly tell the compiler "I got this, don't worry" but then fuck up.
-
I have seen a Java program I wrote terminate with SIGSEGV. I think a library was causing it.
Yup, can confirm. We had a wrapper to a C++ library using JNI, so whenever this library crashed so did the entire JVM.
-
Apple is for ADA
Ball is for BASH
Crab is for C
Dog is for D
Elephant is for Ecsmascript
Fox is for F#
Goat is for Go
House is for Haskell
Igloo is for
...okay I got stuck there.
Igloo is for Idris
-
Not in safe Rust. Only if you explicitly tell the compiler "I got this, don't worry" but then fuck up.
I guess they fixed the weirdness involving calling main later in the program
-
Not in safe Rust. Only if you explicitly tell the compiler "I got this, don't worry" but then fuck up.
-
Apple is for ADA
Ball is for BASH
Crab is for C
Dog is for D
Elephant is for Ecsmascript
Fox is for F#
Goat is for Go
House is for Haskell
Igloo is for
...okay I got stuck there.
wrote on last edited by [email protected]Java has Duke
Ugh, I accidentally got a fake transparent background. Oh well.
-
Or, rather, most compiled languages are just syntactic sugar on top of assembly, and that's especially true with C. (Oh, you can use curly brances and stuff for blocks? That's sure easier to read than the label mess you get with assembly.)
Assembly is a little too high level for me. I prefer to directly write machine code.
-
Java has Duke
Ugh, I accidentally got a fake transparent background. Oh well.
wrote on last edited by [email protected]Branding fail so bad that everyone forgets that Java even has a mascot.
-
I thought it compiles to LLVM intermediate representation and then to the machine code of the requested platform arch. Am I missing something?
Fortran is from 1957, LLVM is from 2003. It's probably like C where there is a compiler tool chain that goes through LLVM like you describe and others that go directly to executables.
-
It's not what you can use that language to do - all general purpose languages are Turing Complete, so what you can do with them is exactly equal. It is about what the language will do for you. Rust compiler will stop you from writing memory unsafe code, C compiler cannot do that.
Fun fact, some languages are not turing complete and I believe people would still consider them programming languages. They're typically targeted at making mathematical proofs.
-
This post did not contain any content.
The puffer fish is Bash
-
C++ is home sick, currently the doctor (compiler) is not sure whether it's got the flu or a terminal cancer.
terminal cancer
"I'm sorry, you've been diagnosed with :(){:|:&};:"
"You have a couple seconds to live."
-
Branding fail so bad that everyone forgets that Java even has a mascot.
There are dozens of us! Millions of devices and dozens of us know about Duke!
Fun fact, Duke is released to the public. I forget in what way exactly, but Oracle freed them (him? it?).
-
Igloo is for Idris
Jigsaw is for Java
King is for Kotlin
Lion is for LUA
Monkey is for ...
-
Assembly is a little too high level for me. I prefer to directly write machine code.
You may as well be a script kiddie. I leverage my very steady hand and highly magnetized needle to write my code
-
The puffer fish is Bash
Yep, it's the one starting everything.
And doing nothing else. And still something manages to no be right.
-
Fun fact, some languages are not turing complete and I believe people would still consider them programming languages. They're typically targeted at making mathematical proofs.
I did say "general purpose". And many proof assistants are Turing Complete actually, such as Lean.
-
I did say "general purpose". And many proof assistants are Turing Complete actually, such as Lean.
I did say "general purpose".
I did say "fun fact".