-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Comment by ๐Ÿ™ norayr


Re: "[gemini link] I've been using Rust for about five years..."

In: s/programming


i dislike rust because it is slow to compile. it takes days on pinebook, and that is a bad sign for me. i don't want to use something that builds long. and i build everything i use on my laptops.


go builds very fast. the compiler itselg builds in 2 minutes.


my oberon compiler builds itself in seconds and most of the time is wasted by gnu tools behind it.


recently there was a thread on openbsd mailing list. why openbsd project would not write more in rust or rewrite some code in rust? and one of the answers was by theo - the founder and leader of the project: rust even cannot build itself on x86 because it needs more memory than 32 bit address space allows.


๐Ÿ™ norayr

2023-11-12 ยท 7 months ago


6 Later Comments โ†“


๐Ÿ™ norayr ยท 2023-11-12 at 23:31:

so i would say, if you are interested in modern and safe programming then


if you need libraries, big community, or master skills that can help to get a job then take a look at go - i am glad it exists.


i am not glad that rust exists.


otherwise if you want to tinker with interesting modern tech (even if it is from 80ies it is modern and some badly designed things today aren't, those are just contemporary) then take a look at ada (it is a big language for some people's taste) or modula-3. modula-3 is a small language which has everything programmers usually want: parallelism in language, exceptions, oop.


if you want even something smaller then oberon is a great language.


๐Ÿ™ norayr ยท 2023-11-13 at 00:07:

here as a side note some words about contemporary pascal. i dislike it because the de facto standard (not iso) was driven by a company, and it had to market it, add features, closely tie to an ide, etc.


i like that there is floss compiler fpc, and though it mostly (but not always) follows the language standard defined by a company behind delphi, it has many valuable properties and it is very underappreciated (though not as much as ada, modula and oberon).


๐Ÿ™ norayr ยท 2023-11-13 at 00:08:

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 ยท 2023-11-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 ยท 2023-11-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 ยท 2023-11-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 ยท 2023-08-20 ยท 9 months ago

-- Response ended

-- Page fetched on Sun Jun 2 10:47:32 2024