News for hackers. Stuff that matters.
Re:Was Rust Worth It? by benibela on Thursday October 26, 2023 @08:32AM (#38024670)
I was making Windows 98 apps with Delphi 4, and they were 350 KB large

And I was upset that they were so big. Sometimes I used UPX. Or I kicked out all Delphi GUI libraries, and created the GUI with the Win32 API calls directly. I got 50 KB Hello Worlds.

Re:Was Rust Worth It? by Borg3 on Thursday October 26, 2023 @12:43PM (#38028182)
50kB hello worlds? Uhm.. thats still big.

15k May 3 2019 quickrun.exe*

Win32 GUI Application that spawns Window and ask for alias to run. Pure Win32 API, written in C (Mingw).

I literaly looled at 11MB hello world of .net or 1.2MB Go..

Re:Was Rust Worth It? by benibela on Friday October 27, 2023 @08:13AM (#38037465)
Well, it is what I remembered

I do not have Windows 98 anymore. But I still have Delphi 4 installed under Wine, so I just tried it out.

Just showing a messagebox from windows gives 16k

Using the sysutils unit though, puts it at over 40k. And with classes, it becomes 57k. Not sure what they pull in. sysutils contains number/datetime parsing and formatting, and exception handling. classes has basic containers and object oriented file handling.

Re:Was Rust Worth It? by Borg3 on Friday October 27, 2023 @12:16PM (#38040461)
Ahh, Delphi. Then I suppose its all right for it. Still, much better compared to Go or Java :D
Re:Was Rust Worth It? by pjmlp on Thursday October 26, 2023 @01:04PM (#38028517)
If only Borland's management didn't decide to focus mostly on enterprise customers.