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

Yeah but the list of restrictions preventing inlining is pretty exhaustive...


This is true currently but both the inlining and the garbage collector have improved tremendously over the past year and should continue to get better.

I do wish Go supported an explicit inline modifier that worked like haxe's though (unlike the C/C++ one which is more of a suggestion).


Most C dialects (for example, GCC and Clang) provide some form of explicit inline qualifier that forces inlining, for example "attribute((always_inline))".




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

Search: