Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've used mongoose in the past to embed http servers to C++ programs. Would be interesting to see how this performs in comparison.

https://github.com/cesanta/mongoose

Here's me attempting to optimize REST routing by using Google's re2 regex library to reduce the list of possible regexes that might match a given URL:

https://github.com/nurettin/pwned/blob/master/server/server....

FilteredRE2

https://github.com/google/re2/blob/master/re2/filtered_re2.h




Given this is MIT licensed instead of GPL like mongoose, it's already leaps and bounds more useful for embedding.


Ok, gpl is a terrible calamity and I'm sorry I ever opened notepad.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: