Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

$LANG is a Rust killer

Name: Anonymous 2014-10-20 4:42

A few years ago everyone was trying to kill Rails. Now apparently everyone wants to kill Rust. What do you think it would take to dethrone this nigh-invincible language that the entire industry has been using for years and that people are getting hired to write code in? Personally I am waiting for a language called WD-40.

Name: Anonymous 2014-10-23 7:12

>>12,17
Rust
<anon>:2:14: 2:17 error: format argument must be a string literal.
<anon>:2 println!(123)
^~~
error: aborting due to previous error
playpen: application terminated with error code 101


C
$ ed
i
#include <stdio.h>

int main(void) {
printf(123);
return 0;
}
.
wq anus.c
64
$ gcc -o anus anus.c && ./anus
anus.c: In function ‘main’:
anus.c:4: warning: passing argument 1 of ‘printf’ makes pointer from integer without a cast
anus.c:4: warning: format not a string literal and no format arguments
Segmentation fault


Haskell
ghci> print 123
123
ghci>

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List