28 Matching Annotations
  1. Last 7 days
    1. The compiler is the part of our program that will take a tree (an AST, to be more precise) and it will produce a sequence of instructions that are simple and easy to follow.
    2. Instead of interpreting the tree directly, we'll use a compiler to create an intermediate layer.
  2. Sep 2023
    1. Write your own compiler in 24 hours

      Interesting need to look at this , It would be a good execercise.

  3. Feb 2022
    1. Online C++ Compiler

      InterviewBit provides us with one of the best C++ compilers that is easily operated and that supports multiple programming languages.

  4. Jan 2022
    1. Ruby 2.6 introduces an initial implementation of a JIT (Just-In-Time) compiler. The JIT compiler aims to improve the performance of Ruby programs. Unlike traditional JIT compilers which operate in-process, Ruby’s JIT compiler writes out C code to disk and spawns a common C compiler to generate native code. For more details about it, see the MJIT organization by Vladimir Makarov.
  5. Dec 2021
  6. Jan 2021
    1. If you manage to make Svelte aware of what needs to be tracked, chances are that the resulting code will be more performant than if you roll your own with events or whatever. In part because it will use Svelte's runtime code that is already present in your app, in part because Svelte produces seriously optimized change tracking code, that would be hard to hand code all while keeping it human friendly. And in part because your change tracking targets will be more narrow.
  7. Dec 2020
    1. Rather than compiling directly to machine code or assembly language, it compiles to a lower-level intermediate language. It source-to-source compiles to C, which is then compiled with a C compiler for a given platform, such as GCC.
  8. Nov 2020
    1. Frontend frameworks are a positive sum game! Svelte has no monopoly on the compiler paradigm either. Just like I think React is worth learning for the mental model it imparts, where UI is a (pure) function of state, I think the frontend framework-as-compiler paradigm is worth understanding. We're going to see a lot more of it because the tradeoffs are fantastic, to where it'll be a boring talking point before we know it.
  9. Oct 2020
    1. Typically, unified compilers return string. This compiler returns a ReactElement.
  10. Sep 2020
    1. For example, the one- pass (hardware) translator generated a symbol table and reverse Polish code as in conven- tional software interpretive languages. The translator hardware (compiler) operated at disk transfer speeds and was so fast there was no need to keep and store object code, since it could be quickly regenerated on-the-fly. The hardware-implemented job controller per- formed conventional operating system func- tions. The memory controller provided

      Hardware assisted compiler is a fantastic idea. TPUs from Google are essentially this. They're hardware assistance for matrix multiplication operations for machine learning workloads created by tools like TensorFlow.

  11. Jul 2020
  12. Jan 2020
  13. Nov 2019
    1. Reason compiles to JavaScript thanks to our partner project, BuckleScript, which compiles OCaml/Reason into readable JavaScript with smooth interop. Reason also compiles to fast, barebone assembly, thanks to OCaml itself.
  14. Sep 2018
  15. Mar 2018
    1. compiler structure; lexical and syntactic analysis; semantic analysis and code generation; theory of parsing

      编译器需要学习的主题:

      1. 编译器结构
      2. 词法与语法分析
      3. 语义分析与代码生成
      4. parsing theory