Hacker News new | ask | show | jobs
by __s 3295 days ago
> who the hell keeps a single source-code file that big

Me. SQLlite. .NET's garbage collector. CPython's eval. Lua's lexer. xinit. dwm. These are off the top of my head that I've seen

https://raw.githubusercontent.com/dotnet/coreclr/master/src/...

https://github.com/catseye/Befunge-93/blob/master/src/bef.c

https://github.com/rust-lang/rust/blob/master/src/liballoc/v...

https://github.com/oxyc/luaparse/blob/master/luaparse.js

Yep. Pretty troll comment. Felt like taking the bite today. I'm going to get back to getting my lexer past 1000 lines today: https://github.com/serprex/luwa/blob/master/rt/lex.wawa

1 comments

I think big source files have their place. Single procedure view is about the only thing I miss in today's Visual Studio (was a thing in VS6).