Anonymous
11/8/2025, 6:38:29 PM
No.107144585
>>107136144
const std = @import("std");
pub fn main() !void {
try std.fs.File.stdout().writeAll("Hello, World!\n");
}
What is the usecase of wasting my time? Why the need for pub fn main() ! void look how much crap is there, it's easier to just write int main() and be done. also look at the second line below
try std.fs.File.stdout().writeAll("Hello, World!\n");
this is embarrassing, this looks like jeet code wym try what am I trying? Either the function works or it doesn't, if it doesn't you fix it so it works. Look at the real example below
printf("hi");
These are toy languages that nobody will ever care for, as silly as it seems, you can rate them all by syntax. The ones that are trash have awful syntax. C has survived for many decades, how long will this shit survive? It hasn't even been released yet lmao. To create a perfect language, you simply have to take C and add much more checking to the compiler, so it can detect when you fuck up the memory alloc. And of course, for the lazy - a package manager for packages, instead of hoping that the malware bundle you download from 50kb/s server from 1989 will link correctly.
const std = @import("std");
pub fn main() !void {
try std.fs.File.stdout().writeAll("Hello, World!\n");
}
What is the usecase of wasting my time? Why the need for pub fn main() ! void look how much crap is there, it's easier to just write int main() and be done. also look at the second line below
try std.fs.File.stdout().writeAll("Hello, World!\n");
this is embarrassing, this looks like jeet code wym try what am I trying? Either the function works or it doesn't, if it doesn't you fix it so it works. Look at the real example below
printf("hi");
These are toy languages that nobody will ever care for, as silly as it seems, you can rate them all by syntax. The ones that are trash have awful syntax. C has survived for many decades, how long will this shit survive? It hasn't even been released yet lmao. To create a perfect language, you simply have to take C and add much more checking to the compiler, so it can detect when you fuck up the memory alloc. And of course, for the lazy - a package manager for packages, instead of hoping that the malware bundle you download from 50kb/s server from 1989 will link correctly.