百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

lo

> 编程语言
开源

这是 JavaScript 吉姆,但不像我们所知的那样。 :space_invader:

386 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

这是 JavaScript 吉姆,但不像我们所知的那样。 :space_invader:

prerequisites

linux/macos

  • gcc/g++ or clang/clang++
  • make
  • curl
  • gunzip

windows

building

linux

the default build of lo runtime links to system libssl and zlib but we build a custom version of libcurl as the default libcurl links to a ton of support libraries we don't need and this slows down startup time. we will likely remove dependency on libcurl at some point (i.e. when we have a robust implementation of fetch in the runtime) but, for now, you will need to install libcurl as follows.

bash
sudo apt install -y libcurl4-openssl-dev libssl-dev zlib1g-dev

gcc/x64

make lo

arm64

make ARCH=arm64 lo

clang

make CC="clang" CXX="clang++" lo

building from a branch/tag

bash
export LO_HOME=$(pwd)
LO_VERSION=main make lo
CC="ccache gcc" CXX="ccache g++" LO_VERSION=main ./lo build runtime runtime/lo

ccache and mold for fast rebuilds

mold -run make C="ccache gcc" CC="ccache g++" lo

macos

the default build of lo runtime depends on libcurl, which is available out of the box on macos. it also depends on openssl, which does not seem to be available as a static library by default.

as such, you will need to install openssl using homebrew or some other mechanism for the default build to succeed.

bash
brew install openssl@3

this will install libssl libs in /opt/homebrew/lib by default. if you need to override this default in the Makefile you can pass the LIB_DIRS argument to make as follows

bash
make LIB_DIRS=/opt/somewhere_else/lib ARCH=arm64 lo

x64

make cleanall lo

arm64

make ARCH=arm64 cleanall lo

windows

  • install chocolatey run in powershell terminal as administrator
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

https://visualstudio.microsoft.com/downloads/ download and run this https://aka.ms/vs/17/release/vs_BuildTools.exe

choose "Desktop Development with C++"

https://learn.microsoft.com/en-us/cpp/build/msbuild-visual-cpp?view=msvc-170

  • install make
choco install make
choco install git
  • install visual studio or msbuild
  • open an 'x64 Native Tools' command prompt as described here
make cleanall lo.exe test

bumping v8 version

bash
make cleanall
## change v8 version in makefile
make lo

install v8 source

bash
make v8/src

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言