Linux - Reddit – Telegram
Linux - Reddit
770 subscribers
4.19K photos
207 videos
39.9K links
Stay up-to-date with everything Linux!
Content directly fetched from the subreddit just for you.

Powered by : @r_channels
Download Telegram
fat binaries!

Fat binaries is an incredibly simple, powerful (and old) way to develop and deploy binaries. Recent languages such as Golang and Rust support it as a way to containerize their noscripts instead of using Docker. By "fat binaries", I refer to a binary that has been statically linked to all its dependencies. It doesn't seem great at first glance, I know.

There are a few reasons for this choice:

* *Simplicity of deployment*: the same way a Docker container runs your application with all its dependencies in an isolated environment, a fat binary doesn't have any external dependencies (except libstdc++ and libc)
* *Safety*: when you test a binary, you are certain that you are testing the exact same code as the one that will run in production. This might seem paranoid, but [you could imagine why](https://en.wikipedia.org/wiki/Knight_Capital_Group#2012_stock_trading_disruption).
* *Performance*: static linking will always be faster: at the very least you will skip a jump through the PLT, at most you can benefit from in-lining

The main downside with fat binaries is that the binary itself is bigger - still much smaller than a Docker image... - this is not a problem for us at all, as we deploy them on our servers. Our main automated trading system is thus a binary around 150MB, 14MB stripped. Again, if the size would ever be an issue we could strip them, but so far it isn’t, so we don't.

​

**Tech fetishes are real**

Some engineers out there, get so hung-up on the technology, they forget to consider the context. For us, that is working backwards. We don’t contain our options by starting with a set container tech ;-). We consider the problem first and build from there.

This way of thinking is real, it’s called having a tech fetish, and we see it surprisingly often. Especially during interviews. And as you can probably guess, it's not our cup of tea.

​

David Gross,

Engineer at [Optiver](https://www.optiver.com/eu/en?utm_source=reddit&utm_medium=blog-post&utm_campaign=optiver-eu-tech-blog-david)

https://redd.it/cdw9om
@r_linux
Weekly Questions and Hardware Thread - July 17, 2019

Welcome to r/linux! If you're new to Linux or trying to get started this thread is for you. Get help here or as always, check out r/linuxquestions or r/linux4noobs

This megathread is for all your question needs. As we don't allow questions on r/linux outside of this megathread, please consider using r/linuxquestions or r/linux4noobs for the best solution to your problem.

Ask your hardware requests here too or try r/linuxhardware!

https://redd.it/ce7uqg
@r_linux
Discussion: the future of the operating system

It is well known that the architecture that GNU/Linux is built on is robust but old and especially POSIX feels outdated. also, some new operating systems (fuchsia, redox, haiku) are slowly emerging. there are few old but interesting OSes as well ( eg: Plan9, hurd ).

Now, what new inventions / breakthroughs / gradual upgrades do you expect in OS space? ( server / desktop / embedded etc.. ).. What features / techniques from existing research is interesting in this regard? I would like to hear a bit more about OS research....

https://redd.it/ce8j2d
@r_linux