ThreadSky
About ThreadSky
Log In
tsoding.bsky.social
•
80 days ago
Modern C++ is so fucked up I think it's fair to call it Postmodern C++ at this point.
Comments
Log in
with your Bluesky account to leave a comment
[–]
handle.invalid
•
80 days ago
C--
2
1
reply
[–]
lowbytefox.dev
•
80 days ago
Yes, you also got QBE and LLVM
If you feel up to it, use C as your IL
0
1
reply
[–]
lowbytefox.dev
•
80 days ago
tinycc is great for this - includes C compiler, AT&T asm assembler, linker and archiver
0
1
reply
[–]
selbstmut.bsky.social
•
80 days ago
Has anyone tried cranelift?
Is C-- actually used by a real programming language (that means Haskell does not count)?
0
2
reply
[–]
handle.invalid
•
80 days ago
I didn't even know it was a real thing
0
2
reply
[–]
selbstmut.bsky.social
•
79 days ago
Also Haskell has the most goofed up post decrement operator
```
main = do
let n = 5
let var = n --
print(n)
```
Still prints 5 and not 4, WTF?
0
1
reply
[–]
selbstmut.bsky.social
•
79 days ago
There are many C--s Sphinx, RIF, Ocaml IR, ...
https://www.cs.tufts.edu/~nr/c--/faq.html#notypes
0
reply
[–]
eugensson.bsky.social
•
79 days ago
It was somewhat popular in the demoscene, I believe.
0
reply
[–]
chardoncs.dev
•
80 days ago
Demodernized C++
0
reply
[–]
selbstmut.bsky.social
•
80 days ago
C++ is postfix increment, so its just C. The pluses have not incrementally improved C by the time you get to evaluate it.
What we really need is ++C, a language which is actually better and where the pluses actually do anything.
2
reply
[–]
parser1111.bsky.social
•
80 days ago
>>people often ask me where I get this two pluses
0
reply
[–]
watzon.tech
•
80 days ago
Is that your C++ postmortem?
0
reply
[–]
fry69.dev
•
80 days ago
TypeScript: "Challenge accepted" ->
https://bsky.app/profile/sebastienlorber.com/post/3lcg4jjbj5c2w
4
reply
Posting Rules
Be respectful to others
No spam or self-promotion
Stay on topic
Follow Bluesky's terms of service
×
Reply
Post Reply
Comments
If you feel up to it, use C as your IL
Is C-- actually used by a real programming language (that means Haskell does not count)?
```
main = do
let n = 5
let var = n --
print(n)
```
Still prints 5 and not 4, WTF?
What we really need is ++C, a language which is actually better and where the pluses actually do anything.