首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏joe compiler

    static compiler 1

    Program由Block组成,即 Program = List[Block] 。

    1.1K50发布于 2020-05-20
  • 来自专栏码字搬砖

    java1.8 的 client runtime compiler和server runtime compiler

    一方面巩固一下,另外一方面方便后续排查问题 二、java runtime compiler 提高runtime compiler 首先想到的肯定是 JIT,JIT有不同的模式:client runtime compiler和server runtime compiler 2.1 定义 1. Client Runtime Compiler模式:这种模式下,编译器会更关注程序的快速启动时间和较低的内存消耗。 Server Runtime Compiler模式:相比之下,server runtime compiler模式更关注程序的长期运行性能和更高的运行速度。 可以使用"-client"参数来启用client runtime compiler模式,使用"-server"参数来启用server runtime compiler模式。

    11900编辑于 2025-05-16
  • 来自专栏homura的博客

    AI Compiler是什么?

    个人水平有限,如有偏颇之处欢迎联系我指正 本文将从两方面讲述内容,首先是AI compiler是什么,都在做什么,其次是和传统compiler的异同。 传统compiler则是编译的语言源代码,而AI compiler编译的是各种各样的模型,编译对象的不同导致了后面的各种处理大相径庭。 对于AI compiler来说需要支持各种各样的模型的解析。 但是对于ai compiler来说你需要支持各种模型,如果只是支持某一种格式的模型是远远不会有用户的,这里不像传统compiler只需要支持自己语言的parser就可以了。 读者如果能够通过本文了解ai compiler大致是什么样子的话那是再好不过了,如果读完本文对ai compiler产生了兴趣也欢迎进入这个行业和我一起摸爬滚打

    1.3K10编辑于 2023-04-07
  • 来自专栏又见苍岚

    Error unsupported compiler 9.3.0

    本文记录 Error: unsupported compiler: 9.3.0 解决方案。 错误 安装cuda 10.2 时报错 Error: unsupported compiler: 9.3.0 解决方案 sudo apt-get remove gcc gcc-9 sudo apt-get

    40740编辑于 2022-08-05
  • 来自专栏webpack@4.46.0源码分析

    the-super-tiny-compiler

    bable官网推荐的 compiler 原理(实现了一个小型的compiler),本文主要是摘抄思想并理解。 For an awesome tutorial on compilers, check out the-super-tiny-compiler, which also explains how Babel git地址:https://github.com/jamiebuilds/the-super-tiny-compiler 本文案例:将lisp语言描述转为c语言描述 4 2) subtract(4, 2) 2 + (4 - 2) (add 2 (subtract 4 2)) add(2, subtract(4, 2)) compiler Transformation takes this abstract representation and manipulates to do whatever the compiler wants it

    71810编辑于 2022-11-16
  • 来自专栏氧化先生的专栏

    Brainfuck JIT Compiler in Rust

    JIT原理并不复杂,做出一个玩具JIT Compiler更是非常轻松。之所以JVMs那么庞大而复杂,原因之一在于它们做了大大大量的优化工作。 我们今天就要来看看JIT究竟是个什么东西! Just-in-Time Compiler ---- JIT Compiler,究其根本还是一个Compiler。 而JIT Compiler却是要生成目标代码的,最终执行的是编译好后的Native Code。只不过,它将目标代码生成的部分推迟到了执行期才进行。 所以,其实优化是JIT Compiler中相当重要的一部分。如果我们不要优化,那可是简单了很多哟。 = 0,则向前跳转至对应的[后 翻译器部分可以作为大一的C语言实验哈哈哈哈 A JIT Compiler for Brainf*ck ---- 如果要手撸JIT Compiler,则需要对目标平台有一定的了解

    1.2K30发布于 2018-08-21
  • 来自专栏IMWeb前端团队

    webpack源码阅读之Compiler

    大致流程 Compiler中的方法调用顺序大致如下(以.run为入口): Compiler.run(callback) 开始执行构建 Compiler.readRecord(callback) 读取之前的构建记录 Compiler.compile(callback) 进行编译 Compiler.newCompilationParams() 创建Compilation的参数 Compiler.newCompilation () 创建新的Compilation Compiler.emitAssets(compilation, callback) 输出构建资源 Compiler.emitRecords(callback) 输出构建记录 源码阅读 Compiler.run(callback) Compiler.run()是整个编译过程启动的入口,在lib/webpack.js中被调用。 (callback) -> onCompiled onCompiled是在Compiler.run中定义的,传给Compiler.compile的回调函数。

    1.4K20发布于 2019-12-04
  • 来自专栏10km的专栏

    thrifty-compiler maven插件

    之前写过一篇文章介绍如何用thrifty-compiler 通过IDL生成client代码 《Microsoft/thrifty:解决thrifty-compiler.jar运行报错不能编译IDL生成 java class代码问题》 但是Microsoft/thrifty官方并没有提供maven插件用于在maven中调用thrifty-compiler,我的项目是用maven组织的所以在pom.xml 中调用thrifty-compiler就变得很必要. 既然官方没有提供maven插件,就自己写一个,原理也不复杂,thrifty-compiler的程序入口就是就是com.microsoft.thrifty.compiler.ThriftyCompiler.main (String[] args),所以只要写一个插件定义所有thrifty-compiler可接收的参数,把通过maven插件输入的所有参数都以命令行输入参数形式输入给ThriftyCompiler.main

    65700发布于 2019-07-11
  • 来自专栏EffectiveCoding

    JVM Advanced JIT Compiler Options

    JIT相关编译选项 Advanced JIT Compiler Options -XX:+AggressiveOpts 最核心的应该是加快编译,在JDK 6之后就默认启用的,启用一些诸如编译优化、偏向锁 该参数用于定制编译需求,比如过滤某个方法不做JIT编译,若未指定方法描述符,则对全部同名方法执行命令操作 -XX:CompileCommandFile=filename 配合上述指令来使用,指定.hotspot_compiler

    1.8K20发布于 2020-02-25
  • 来自专栏码云大作战

    dubbo(二)动态编译compiler

    编译对象 Compiler compiler= ExtensionLoader.getExtensionLoader(Compiler.class).getAdaptiveExtension (); //进行动态编译 return compiler.compile(code, classLoader); } 二、compiler 首先compiler是一个装饰类 > compile(String code, ClassLoader classLoader) { Compiler compiler; ExtensionLoader<Compiler //name如果存在则取compiler if (name ! 三、compiler编译器总结 Compiler接口实现结构图 ?

    1.2K10发布于 2020-09-24
  • 来自专栏用户1337634的专栏

    configure: error: C compiler cc is not found

    编译安装nginx时遇到C compiler cc is not found,一般情况下是因为没有安装gcc,但是同事遇到的问题有点不一样,明明已经安装了gcc和cc 问题描述 编译安装nginx . /configure遇到错误,C compiler cc is not found 但是gcc和cc命令都已经安装/usr/bin/gcc和、/usr/bin/cc 编译安装redis make gcc 问题解决 应该是gcc安装的时候出现了问题,所以重装gcc等开发组件 yum remove -y gcc yum install -y gcc gcc-c++ 参考 configure: error: C compiler

    4.8K20编辑于 2022-08-23
  • 来自专栏汇智网教程

    Remix错误 - Mock compiler: Source not found

    在刚开始使用Remix在线IDE编写solidity智能合约时,你可能会碰到这个错误: Mock compiler: Source not found。怎么会这样?应该怎么解决? 出现Mock compiler: Source not found这个错误的原因,是启动的Remix环境没有 选中合适的Solidity编译器。

    94620发布于 2019-03-12
  • 来自专栏黯羽轻扬

    the-super-tiny-compiler源码解析

    default: throw new TypeError(node.type); } } 再把AST转回代码字符串,该加分号的加分号,该添括号的添括号…… 流程串接 function compiler output; } 把上面所有环节串起来,构成简单的编译器,确实只有200行的样子,试玩一下: const input = '(add 2 (subtract 4 2))'; let output = compiler stack.pop(); } } 这样就不会再污染旧树了,并且代价不很高(一个额外的数据结构stack) 五.源码 Github地址:https://github.com/ayqy/the-super-tiny-compiler P.S.包括带详细注释的原版,以及优化之后的实现 参考资料 The Super Tiny Compiler jamiebuilds/the-super-tiny-compiler

    1.4K40发布于 2019-06-12
  • 来自专栏IT笔记

    linux下 Error running javac compiler

    4、然后重新执行脚本,又报错了: Error running javac compiler 翻译一下可能就是无法找到javac编译器。 百度搜了一下,终于在老外的网站找到了问题。

    2.2K50发布于 2018-04-11
  • 来自专栏iSharkFly

    Maven 的 Maven Compiler Plugin 插件

    当前 Maven Compiler Plugin 这个插件的版本为 3.10.1 你可以使用最新的版本。 我们今天主要说一下这个插件中 --release 参数 这个插件的配置方法如下: <? > <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId https://www.ossez.com/t/maven-maven-compiler-plugin/13913

    1.8K20编辑于 2022-04-08
  • 来自专栏云计算与大数据

    编译器|LLVM Compiler System

    tools for automating many of the most thankless parts of the task of language creation: creating a compiler Apple’s Swift language uses LLVM as its compiler framework, and Rust uses LLVM as a core component of Also, many compilers have an LLVM edition, such as Clang, the C/C++ compiler (this the name, “C-lang”

    1K10编辑于 2022-04-18
  • 来自专栏OpenFPGA

    Xilinx DDS Compiler IP 使用教程

    虽然 DDS 背后的理论相当简单,但第一次在 FPGA 中实现它可能有点挑战,这就是为什么我想创建这个项目作为一个简单的示例,说明如何使用Xilinx DDS Compiler IP并把它运行在 Ultra96 此输入值通常称为调谐字,但在 Xilinx DDS Compiler IP 中,它称为相位增量。 如上图所示,此相位增量值 (Δθ) 越大,DDS 围绕表示复杂波形的单位圆的步进速度越快。 接下来就是搭建工程进行验证,详细的搭建过程就不展示了,可以在最后的工程中找到,在工程中主要有以下IP: 1 - Xilinx DDS Compiler IP; 2 - 连接 DDS 的 AXI Stream 当 DDS Compiler IP 出现在 IP 存储库的列表中时双击它,将弹出一个对话框。单击“Customize IP”按钮,将出现 DDS 编译器的配置窗口。 ://docs.xilinx.com/v/u/en-US/pg141-dds-compiler 总结 希望这个简单的 DDS 示例对您有所帮助。

    2.5K31编辑于 2023-02-14
  • 来自专栏码出code

    mvn 打包报错:no compiler is provided in this environment

    最近公司换了电脑,系统也从 win7 升级到 win11,开发环境都重新安装了一遍,然后在 idea 用mvn 执行打包命令 mvn clean package 报错: no compiler is provided

    2.1K20编辑于 2023-02-26
  • 来自专栏一个会写诗的程序员的博客

    编译器架构 ( Compiler Architecture )

    一个现代编译器的主要工作流程: 源代码 (source code) → 预处理器 (preprocessor) → 编译器 (compiler) → 目标代码 (object code) → 链接器 这就需要一个工具,将C语言代码转换成CPU能够识别的二进制指令,也就是将代码加工成 .exe 程序;这个工具是一个特殊的软件,叫做编译器(Compiler)。 参考文档 http://www.tutorialspoint.com/compiler_design/compiler_design_architecture.htm https://www.cnblogs.com

    2.3K20发布于 2021-06-29
  • 来自专栏F_Alex

    安装RabbitMQ编译erlang时,checking for c compiler default output file name... configure:error:C compiler c

    checking for c compiler default output file name... configure:error:C compiler cannot create executables

    1.3K30发布于 2018-06-20
领券