frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How do you get into systems programming

13•otherayden•1y ago
Hi all!

I'm looking for recommendations on where to start with learning systems programming. Ideally, I'd like to be able to get to a point where I can make a living doing it, but currently I just want to do fun stuff to build up curiosity around it.

Here's all of the "low-level" stuff that I know so far / imagine being useful. I... - Have enough of an understanding of networking to write a toy HTTP server on top of TCP - Know enough C to write some basic terminal tools + window applications if needed (on Linux) - Love terminal tools like neovim + several core utils - Have dabbled with Arduino/ESP32 & communicating via USB over the serial port with a host pc - Am pretty decent with Python, and have been using it for like 10 years

Some things that I've been curious about in the past - Converting parts of python libraries from pure python to C/C++ bindings for better performance - Writing a terminal based file manager to work with Google Chrome - Actually contributing to chromium (my laptop is a potato though so all of my builds fail)

About me: I'm in my junior year of uni studying CS, and I've been able to make money doing web dev for the past 2 years of my degree. For many reasons including curiosity and the fact that AI makes me feel replaceable doing many frontend + backend tasks, though I'm very curious about getting into lower level programming.

Any help would be greatly appreciated!

Comments

abhisek•1y ago
IMHO there is neither baseline nor “enough” when it comes to learning any programming language for any reasonably complex domain.

As you already know, C/C++ helps with low level software layers that interface with or manage hardware resources. In my experience, Go and Rust are also pretty much used as systems programming languages. For example, I use Go and EBPF to instrument systems calls on Linux kernel.

For me, most of my learning came from solving problems and building for specific use-cases. I think getting into builder mode and creating some cool will definitely accelerate your learning.

sargstuff•1y ago
On software side, building an OS (distribution) from scratch provides a step above bare metal programming[0].

Provides familiarity with different types of things a kernel does via programs/scripts that make use of kernel.

Actually writing binary code for kernel bit can be done under qem[1][2]. aka don't need to buy actual hardware, can use 'software probes' to view what's going on, etc. Don't have to worry about 'crashing'/trashing box running on (just crash the qem software & loosing just what was done in qem session, if didn't save as 'export/save to external location outside of qem session')

"Reading OpenBSD source code daily (blog.tintagel.pl)" from [hn: 3] automated way to review code.

-----

[0] : https://www.linuxfromscratch.org/

[1] : qem for kernel developers - https://www.youtube.com/watch?v=LyWlpuntdU4

[2] : https://www.collabora.com/news-and-blog/blog/2017/01/16/sett...

[hn:3] : https://news.ycombinator.com/item?id=14521386

a_tartaruga•1y ago
It sounds like you're doing the normal sort of things that systems people do to get started. The fact that you have lots of ideas to jump off of is very good. In general just follow all of your ideas down as far as you can to the base systems. Write the TCP implementation for your HTTP server and run it over the internet for example. You've only gone too far when you start worrying about noise and debugging looks like randomly grounding metal things.
theophilec•1y ago
Oxide and Friends has an episode on the topic [1], I found interesting.

[1] : https://oxide-and-friends.transistor.fm/episodes/paths-into-...

noone_youknow•1y ago
Sounds like you’re doing some interesting stuff and have a good, varied skill base to build on.

My advice would be to jump in and start working on kernel level stuff, or writing your own - IMO there’s no finer way to really “get” the low level concepts and the understanding you’ll build will really help with any other system-level stuff you do.

Not to plug, but if you were interested in getting involved in an existing project, my own toy kernel project[0] is at a point where there’s still lots of fun stuff left to do (both design- and implementation-wise) but a lot of the basic “project plumbing” and one-time machine setup stuff that people often get stuck on is already done, and I’d be glad to have the opportunity to share knowledge.

[0] : https://github.com/roscopeco/anos

Show HN: Chat Hoarding – Mac app to archive WhatsApp backups locally

https://chathoarding.app/
1•zzeynalov•3m ago•0 comments

Lab-Made Babies Won't Solve the Fertility Crisis

https://ifstudies.org/blog/lab-made-babies-wont-solve-the-fertility-crisis
1•berlianta•4m ago•0 comments

The Despair of the Professor in the Age of A.I

https://www.newyorker.com/news/fault-lines/the-despair-of-the-professor-in-the-age-of-ai
1•YeGoblynQueenne•5m ago•0 comments

A file-level tree that lets an LLM reason over a document corpus

https://pageindex.ai/blog/pageindex-filesystem
1•cccaaai•6m ago•0 comments

Modern Web Guidance

https://developer.chrome.com/docs/modern-web-guidance
1•pramodbiligiri•6m ago•0 comments

Show HN: I hand-write 5 daily word puzzles before work

https://www.dailyworder.com/
1•DailyWorder•12m ago•0 comments

Show HN: Generate 54 social media assets in 1 click

https://socialpacks.co/
1•danielkempe•13m ago•0 comments

Tell HN: First commit on Linux Kernel GitHub Page is from 30th of April 2005

https://github.com/torvalds/linux/commit/1ddb8a16aa0e60e7fdc48b1f532cf43e692f8fae
2•theanonymousone•21m ago•1 comments

Mexican President Responds to World Cup Piracy Concerns, Prefers Open Broadcasts

https://torrentfreak.com/mexican-president-responds-to-world-cup-piracy-concerns-prefers-open-bro...
3•Cider9986•25m ago•0 comments

High Speed Networking: The View from the Machine

https://blog.c21-mac.com/posts/high-speed-networking-part-1/
1•signa11•25m ago•0 comments

Systemd-sysinstall – Simple OS installer

https://www.freedesktop.org/software/systemd/man/devel/systemd-sysinstall.html
2•kozika•36m ago•0 comments

Factually-an AI-powered research tool to find reliable answers

https://factually.co/
2•sean_the_geek•44m ago•1 comments

Welcome to get-shit-done-redux – why the fork, what changed, what's next

https://github.com/open-gsd/get-shit-done-redux/discussions/109
3•dmazin•44m ago•0 comments

'Corpse Point' in the Arctic Is Melting, Disturbing Centuries-Old Bodies

https://www.404media.co/corpse-point-in-the-arctic-is-melting-disturbing-centuries-old-bodies/
3•Cider9986•45m ago•0 comments

'BusPatrol' Put AI Cameras in School Buses

https://www.404media.co/buspatrol-put-ai-cameras-in-tens-of-thousands-of-school-buses-now-they-wa...
3•Cider9986•45m ago•0 comments

What's it like to be a bat? (1974) [pdf]

https://www.sas.upenn.edu/~cavitch/pdf-library/Nagel_Bat.pdf
2•ineedasername•45m ago•1 comments

Mini Micro Fantasy Computer

https://miniscript.org/MiniMicro/index.html#about
24•nicoloren•47m ago•4 comments

Motorola's preinstalled "Smart Feed" app hijacks apps for affiliate revenue

https://old.reddit.com/r/Android/comments/1tno2z3/motorolas_preinstalled_smart_feed_app_hijacks/
1•stefan_•48m ago•1 comments

The Confession Nobody Expected

https://victoriaaremo.substack.com/p/the-confession-nobody-expected
2•victoria_aremo•53m ago•0 comments

NASA unveils next steps to build permanent Moon base

https://www.bbc.co.uk/news/articles/c39228nxyr4o
2•haack•54m ago•0 comments

Intel: Vision Without Execution, a comic-style deep dive (2000–2026)

https://zozo123.github.io/intel-story/
5•zozo123-IB•54m ago•1 comments

KDE Dolphin with tabs on top discussion

https://bugs.kde.org/show_bug.cgi?id=464386
2•maverick74•54m ago•0 comments

Scott Aaronson won't collaborate with the New York Times anymore

https://scottaaronson.blog/?p=9758
5•camillomiller•55m ago•2 comments

Why do most teleprompter apps suck?

https://thesmartteleprompter.com
1•timcombridge•59m ago•1 comments

Is GitHub Pull Request page copy broken?

https://imgur.com/a/CJfEaIr
3•__natty__•59m ago•0 comments

Uglycash

https://ugly.cash/
2•janandonly•1h ago•1 comments

OpenMLS Has Been Audited

https://blog.phnx.im/openmls-independent-security-audit/
4•raphaelrobert•1h ago•0 comments

1-Bit and Ternary Bonsai Image 4B: Image Generation for Local Devices

https://prismml.com/news/bonsai-image-4b
1•Marius77•1h ago•0 comments

Show HN: Wolf – Turn Slack threads into multiplayer agent workspaces

https://getwolf.dev
4•swimninja247•1h ago•3 comments

Jqwik 1.10.0 ships a hidden prompt injection telling AI agents to delete code

https://github.com/jqwik-team/jqwik/issues/708
1•rjbatllet•1h ago•0 comments