Arc Forumnew | comments | leaders | submitlogin
4 points by akkartik 5462 days ago | link | parent

Yep, way slower. Arc works only because of its escape valves. When I want to parse html I escape to python's beautiful soup and emit JSON. When I wanted a faster JSON parser I escaped to scheme. When I needed something to be still faster I escaped to C through scheme's FFI.

I haven't needed to call system yet :) (http://arclanguage.org/item?id=3522 via* http://arcfn.com/2009/08/arc-arduino-arm-temperature-monitor...)



1 point by kens 5457 days ago | link

I assume you're using Anarki, because standard Arc doesn't have any of those escape valves other than system, which I find quite annoying.

-----

4 points by aw 5457 days ago | link

If you prefer not to have all the changes that Anarki makes to Arc, the http://awwx.ws/ac patch adds just the ability to drop into Scheme from Arc.

-----

2 points by akkartik 5455 days ago | link

And once you have $/ac-scheme, you can load libraries through scheme's FFI, or load scheme libraries say for parsing json.

I'm not using anarki, just pieces that I like.

(sorry, addressing grandparent)

-----