Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ambly: embedded ClojureScript (fikesfarm.com)
73 points by tosh on Sept 17, 2018 | hide | past | favorite | 8 comments


Got to say, Mike Fikes comes across as a lovely person and his blog posts are super informative


> Ambly is designed for use when developing hybrid ClojureScript / native apps

Can someone shed some light on where Ambly would fit into the development workflow?


It gives you a CLJS REPL on the phone: http://blog.fikesfarm.com/posts/2015-03-05-ambly-app-bootstr... Live editing code directly on the device is rather badass.


finally a maclisp cough machine


Apple allows you to embed JavaScriptCore into native apps, writing some of your logic in JavaScript. See this WWDC 2013 presentation: https://developer.apple.com/videos/play/wwdc2013/615/

If you would like your JavaScript to be derived from ClojureScript, and you would like a live REPL experience, then Ambly can be used for that.

An example library that uses this technique to drive a native iOS app is https://github.com/mfikes/goby


Is this the only way to get ClojureScript on mobile?


No. ClojureScript works with React Native, and in that case you can use the Figwheel REPL. See http://cljsrn.org

Ambly can be useful in other situations where you are not building a React Native app, but still want ClojureScript driving things. For an example with Ejecta, see http://blog.fikesfarm.com/posts/2017-04-29-clojurescript-eje...


Looks interesting. Can it be used to implement live wallpaper?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: