💾 Archived View for bbs.geminispace.org › u › norayr › 11675 captured on 2023-12-28 at 17:33:42. Gemini links have been rewritten to link to archived content
View Raw
More Information
⬅️ Previous capture (2023-11-14)
➡️ Next capture (2024-02-05)
🚧 View Differences
-=-=-=-=-=-=-
Comment by 🐙 norayr
Re: "[gemini link] I've been using Rust for about five years..."
In: s/programming
- no dependency on libc by default. compiled binaries are statically linked with runtime library which uses kernel syscalls directly, bypassing libc.
- those binaries are of very small size: about 20kb.
- stand alone commandline compiler, no dependency on the ide, i usually use vim, support in gdb, almost every architecture and os is supported.
- very efficient memory manager: programs compiled with fpc are outstanding in compiler benchmarks by very low memory usage.
🐙 norayr
Nov 13 · 7 weeks ago
3 Later Comments ↓
🐙 norayr · Nov 13 at 00:16:
- enegy efficiency: if you look at
— that famous research
you'll see in the table 5 (pareto optimal sets for different combination of objectives) that there is always c on the first line, but also there go twice and there is pascal three times.
time & memory: winners are: c, pascal go
energy & time: c alone
energy and memory: c and pascal (pascal is better than c if we take only memory usage)
energy, time and memory: all three share the first line; c, pascal, go.
🐙 norayr · Nov 13 at 00:17:
- unlike other languages i mentioned (ada, modulas, oberon) pascal has a reasonably big community, many libraries.
- lazarus is a great tool to create gui programs. same program can be compiled with gtk backend or qt backend, or for winfows or macos. or amigaos or morphos. or by using a toolkit written in pascal.
you dont need anymore to change your program because underlying ui toolkit gets deprecated: community updates the lcl (lazarus component library) backend, lets say it also supports not only gtk2 but gtk3, or newer version of qt, you just recompile your program and you get a version which works with newer or different ui toolkit.
🐙 norayr · Nov 13 at 00:18:
- wide list of supported platforms also mean you can write with fpc for an old palm pda or for game boy advance.
Original Post
🌒 s/programming
[gemini link] I've been using Rust for about five years now, but I'm beginning to sour on it. I'm curious about perspectives here.
💬 jeang3nie · 24 comments · 4 likes · Aug 20 · 4 months ago