Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pjmlp
43 days ago
|
parent
|
context
|
favorite
| on:
Is Rust faster than C?
> I can write C that is as fast as C++.
Only if ignoring the C++ compile time execution capabilites.
pmarin
43 days ago
|
next
[–]
C++ compile time execution is just a gimmicky code generator, you can do it in any language.
pjmlp
43 days ago
|
parent
|
next
[–]
Yeah, I could also be writting in a macro assembler for some Lisp inspired ideas and optimal performace.
jandrewrogers
43 days ago
|
prev
[–]
Any code that can be generated at compile-time can be written the old fashioned way.
pjmlp
43 days ago
|
parent
[–]
Including using a macro assembler with a bunch MASM/TASM like clever macros.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Only if ignoring the C++ compile time execution capabilites.