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

"you just need to understand what the language is doing under the hood in a general sense"

Isn't the best to find out to look at the assembly? How else can you know what the compiler and optimizer are doing?



No, understanding what the language is doing is not the same as looking at assembly or even understanding what the optimizer is doing.

If swift is creating some variables on the heap and/or creating virtual tables for inheritance (I don't know much about it) then you don't need to look at the assembly to know that you are creating indirection or doing too many heap allocations.




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

Search: