TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Now my pet programming language can run in the browser

74 点作者 nbittich超过 1 年前

4 条评论

nilslice超过 1 年前
It may just be my own unique obsession to peek at the internals of .wasm, but if anyone else is curious:<p><a href="https:&#x2F;&#x2F;modsurfer.dylibso.com&#x2F;module?hash=ab6f4b2de9db1713475af9cf04dbaccbe9be86bb1b214f9e64f5a1bb50b103d6" rel="nofollow">https:&#x2F;&#x2F;modsurfer.dylibso.com&#x2F;module?hash=ab6f4b2de9db171347...</a><p>u&#x2F;nbittich - curious if you&#x27;ve tried to use your language as as a scripting language inside other apps? I took a peek at your browser wasm environment, and think we could hook up the `compute` entrypoint you have here[0], but I&#x27;m not certain what the `ctx` does without going super deep, and if it could be passed into an Extism function[1] (which is how I&#x27;d try to run it from within 16+ other languages).<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;nbittich&#x2F;adana&#x2F;blob&#x2F;master&#x2F;adana-script-wasm&#x2F;src&#x2F;lib.rs#L11-L27">https:&#x2F;&#x2F;github.com&#x2F;nbittich&#x2F;adana&#x2F;blob&#x2F;master&#x2F;adana-script-w...</a><p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;extism&#x2F;extism">https:&#x2F;&#x2F;github.com&#x2F;extism&#x2F;extism</a>
评论 #39329773 未加载
beardyw超过 1 年前
I think there is a role for a scripting language in the browser akin to scripting in a spreadsheet. Sadly I don&#x27;t see an accepted standard. Key would be what it can&#x27;t do (access the document model, access the internet etc), not so much what it can.
评论 #39329224 未加载
Instantnoodl超过 1 年前
Tasty name! Great work :) I&#x27;m sure that was a lot of fun to build
评论 #39329789 未加载
mcdonje超过 1 年前
Got a blog post about building this?
评论 #39327151 未加载
评论 #39329804 未加载