←back to thread

51 points klaussilveira | 1 comments | | HN request time: 0.322s | source
Show context
TillE ◴[] No.45082460[source]
> VisualC++ doesn’t have its source code available

Got all the way here and had to look back up to see this post was from 2019. The MSVC standard library has been open source for several years now. https://github.com/microsoft/STL

Though to be perfectly honest, setting a breakpoint and looking at the disassembly is probably easier than reading standard library code.

replies(2): >>45083002 #>>45083530 #
1. snfernandez ◴[] No.45083530[source]
I was working at MS at the time and actually had access to the source code (my project involved devdiv). I don't remember the exact details, but I opted for not adding any of my "private" knowledge to the post.

I agree with you that I prefer looking at optimized assembly with symbols rather than following code through files (which are usually filled with #ifdefs and macros).