Do

DotnetEbpf - Write Linux eBPF kernel applications in C#

Hacker News

DotnetEbpf - Write Linux eBPF kernel applications in C#

I've been working for a good 9 months now writing a .net to C transpiler ( https://github.com/KallDrexx/dntc ) as a "I wonder if I can" type of project (with the intention of eventually being able to do embedded development in C# instead of C). Along the way I was trying to find good milestones to test the transpiler with. As I learned about Linux eBPF I realized that ended up being an interesting use case and created the DotnetEbpf prototype. It allows you to write Linux kernel side eBPF applications fully in C#. While with some of the limitations it may seem like it's limiting the usefulness of C#, it does allow for better syntax than C and as well as unit testing capabilities (since each native eBPF function can be populated with C# native code that is ignored when transpiled, in addition to generic capabilities). In the future I'd like to flesh out the ability for correct wiring up of data structures between both the C# kernel side and a C# user space side (and the ability to install an eBPF kernel application from a C# user space application), which would enable writing full stack eBPF security software fully in C#.

Share card

Actual performance

10points
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: user, code · Missing: mac, agents, macos
76%76% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
76%76% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Strong signals: created · Missing: supports, reddit linkedin, podcasting
72%72% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: month, way · Missing: mobile apps, ios, personal
49%49% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
39%39% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Va
Variant Symlink Filesystem for Linux85%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Variant Symlink Filesystem for Linux

Hacker News2
Di
Distributed memcached in Linux kernel71%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Distributed memcached in Linux kernel

Hacker News7
Co
Compressed directories on Linux60%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Compressed directories on Linux

Hacker News70
Sq
Sqlite3-X64 – SQLite Precompiled Binaries for Linux X6467%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Sqlite3-X64 – SQLite Precompiled Binaries for Linux X64

Hacker News2
Ex
ExpanDrive for Linux72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

ExpanDrive for Linux

Hacker News14
An
An Aesthetically Pleasing Arch Linux Distro72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An Aesthetically Pleasing Arch Linux Distro

Hacker News76
K1
K1ss Linux72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

K1ss Linux

Hacker News3
Pl
PlagueOS – Hardened Void Linux72%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

PlagueOS – Hardened Void Linux

Hacker News8
Co
CoreOS, a Linux distro for containers67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CoreOS, a Linux distro for containers

Hacker News417
20
2048.ko: 2048 as a linux kernel module47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

2048.ko: 2048 as a linux kernel module

Hacker News3