TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

C-code generation considered unnecessary: go directly to binary, do not pass C

2 pointsby bouchard3 months ago

2 comments

zoezoezoezoe3 months ago
yes and no. The reason we prefer going to C is because of C&#x27;s massive adoption, whatever you&#x27;re writing, if you cant use C with FFI, you can basically write it off. Technically C does has some sense of a standard, but not really, if you want to use C, its easiest to generate C and then use C with C.<p>You dont always need C, if you want to write everything in your preferred language, keep everything in Rust, or Julia, or Zig, or whatever, go ahead, you will probably have a better experience too since you dont have to generate bindings or any of that nonesense, but no one wants to rewrite OpenSSL or something like that in their preferred language, it&#x27;s always going to be C.
compressedgas3 months ago
They don&#x27;t go directly to binary. They go to LLVM bypassing the C front end.
评论 #42973176 未加载