nixers
Reading RSS feeds as a file system - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Development & Graphics (https://nixers.net/Forum-Development-Graphics)
+--- Forum: Programming On Unix (https://nixers.net/Forum-Programming-On-Unix)
+--- Thread: Reading RSS feeds as a file system (/Thread-Reading-RSS-feeds-as-a-file-system)


Reading RSS feeds as a file system - jkl - 11-05-2020

I have a new pet project.

https://code.rosaelefanten.org/rssfs

Don't look at the WinFsp implementation yet. :-))
(It lacks... everything.)


RE: Reading RSS feeds as a file system - ckester - 11-05-2020

Cool. I might have to finally get around to learning Go.


RE: Reading RSS feeds as a file system - jkl - 11-05-2020

Please do. Because my Go sucks and I need contributions. ;-)


RE: Reading RSS feeds as a file system - ckester - 14-05-2020

(11-05-2020, 04:07 PM)jkl Wrote: Please do. Because my Go sucks and I need contributions. ;-)

Y'know, I might have picked a good time to take another stab at learning Go. It looks like they're making progress on the executable size issue that annoyed the hell out of minimalist me when I tried it back it the early days:

https://twitter.com/bradfitz/status/1256348714198654976


RE: Reading RSS feeds as a file system - jkl - 15-05-2020

Technically, Go still has massive binaries which can only be improved to a certain extent (static linking, hooray). I guess it could be a good exercise to strip the binaries down to their lowest size, as it is in the Delphi/Lazarus world.


RE: Reading RSS feeds as a file system - ckester - 15-05-2020

I know. As long as Go has garbage collection, a scheduler for goroutines, etc. it will have a hefty runtime compared to good old C. There's no free lunch.

I like static linking too, and I think Go's binaries aren't so bad when you compare them to the whole executable + shared libraries set that you would get with a dynamically-linked equivalent. (I hear gccgo can create smaller binaries but also that they're slower. Haven't tried it myself.)

upx also looked interesting when I started reading about it today, and it does dramatically reduce the size of the binaries. But I don't think I like the slower startup due to the decompression step. As far as I can tell, the main benefit of upx is saving disk space but for me the whole point of smaller binaries is faster launches and less thrashing thanks to smaller working sets. I'm not sure upx helps with either of those. But I only found about it today while reading up on what people have been saying about the size problem.


RE: Reading RSS feeds as a file system - jkl - 15-05-2020

In my opinion, UPX makes no sense, as the reason for the main advantage of smaller binaries (the overhead) is basically even worse with it.