You must log in or # to comment.
Actually, in Java 24 it’s:
void main() { println("Hello World"); }
Oh that’s interesting. It kinda reminds me of the C# top level statements feature.
This still creates the function main in the normal way, right?
The assembly would be:
Mov rax,1 Mov rdx, 0 Mov rsi, buffer Mov rdi, buffer.length Syscall Mov rax,57 Syscall
deleted by creator