r/programming • • Dec 05 '15

Microsoft Edge’s JavaScript engine to go open-source

https://blogs.windows.com/msedgedev/2015/12/05/open-source-chakra-core/
1.6k Upvotes

504 comments sorted by

View all comments

Show parent comments

37

u/ironnomi Dec 06 '15

Having seen both code bases extensively, I can say there can be NO direct code comparisons between the two.

In general, Apple's ObjC code easily takes up 4x the space as the typical Windows C++ code.

-4

u/badcookies Dec 06 '15

You are telling me that the os is written in objective c?? Why do you think that?

22

u/ironnomi Dec 06 '15

Both OSes are written in multiple languages. Some of OSX is written in ObjC.

At least the parts I've seen were written in C, C++, ASM and ObjC (actually some of the ObjC might have been ObjC++, but my memory isn't that good.)

Windows 7 however was all either C or C++, nothing I was looking at was C#, but I'm sure parts of Win7 were written in it.

You realize of course that those lines of code are not the kernels only right? Any time you see those LoC things they mean everything that they consider part of the OS. It's going to include the kernel, the boot code, the libraries, the utilities, the interfaces, the included apps, everything.

3

u/brobits Dec 06 '15

[project singularity is a C# windows kernel by microsoft research](https://en.wikipedia.org/wiki/Singularity_(operating_system))

→ More replies (3)