有没有*没有*线程库的体面方案实现?
我正在考虑使用哪种方案。
我想使用一种具有或可以编译为无线程支持的方案。我必须避免线程库提供的层。 我想要一个没有解释器锁等代码的实现。可以编译为 C 的东西是理想的。这仅适用于 Unix。 Chicken 和 Gambit 是我的首选,TinyScheme 作为替代策略。
我想使用这个方案来替代我现在拥有的 ruby 应用程序。这就是为什么它必须是一个像样的方案,它必须对字符串、散列、正则表达式、字典等有丰富的支持。
有这样的野兽吗?
I am considering which scheme to use.
I would like to use a scheme that has or can be compiled to have no threading support. I have to avoid the layers that threading libs provide. I want an implementation that has no code for interpreter locks, etc. Something that can compile to C is ideal. This will be Unix only. Chicken and Gambit are my first choice with TinyScheme as an alternative strategy.
I want to use this scheme as the replacement for a ruby app that I have now. This is why it has to be a decent scheme, it has to have rich support for strings, hashes, regex, dictionaries, etc.
Any such beast out there?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试Chibi计划或盗窃。我认为它们都没有线程。 Chibi 在虚拟机上运行,Larceny 编译为本机代码。我预计Larceny对各个库的支持会更好。
You might try Chibi Scheme or Larceny. I don't think that either of them have threading. Chibi runs on a VM, Larceny compiles to native code. I expect that Larceny's support for various libraries will be better.