Hacker Newsnew | past | comments | ask | show | jobs | submit | logicdispatch's commentslogin

It's not any different than Clojure and ClojureCLR running in a "container of some sort". Clojure and ClojureCLR are libraries that add embedded support to the JVM and CLR to execute Clojure code and interop with the "native" environments there. JavaScriptCore is an embedded JavaScript runtime that provides essentially the same thing for JavaScript <-> Cocoa. You have full access to native Cocoa APIs. (Similar to Rhino or Nashorn if you are more familiar with the JVM.)

You use native widgets (e.g. UITableView), not web/dom widgets. This is a different thing than Cordova, et al, that essentially run a webview with some native functionality surfaced to the dom.

This is what React Native uses, and I thought I had seen some people experimenting with using ClojureScript and JavaScriptCore.


Clojure -> Java Bytecodes -> Dex Bytecodes -> Native code (Dalvik-JIT / ART-AOT) => No FFI, direct access to native APIs

ClojureCLR -> MSIL -> AOT compilation via MDIL and .NET Native => No FFI, direct access to native APIs

ClojureScript -> WebView (whatever it uses to execute JavaScript) + writing JavaScript bindings by hand for webview access

I don't care about JavaScriptCore as only have access to Android and Windows Phone devices.

Plus it is already enough having to deal with JavaScript toolchains when customers request webdev projects.


ReactNative with ClojureScript would not use a webview, but native components (at least on iOS)


SEEKING WORK - Remote or Southeast/Mid/West Michigan

We are a small, experienced team trying to get off the ground doing cross-platform mobile, web, desktop and game development.

Languages: C#, C++, Objective-C, Java, Javascript, Clojure

Other Buzzwords: Xamarin, Cocos2D-x, SpriteKit, Unity, Angular, AWS, Azure, Google Cloud, ASP.NET [WebForms, MVC, Web API], NancyFX

More information can be found at http://www.logicdispatch.com or email mark[dot]rathwell[at]gmail.


SEEKING WORK - Remote or Southeast/Mid/West Michigan

We are a small, experienced team doing web and cross-platform mobile, desktop and game development, primarily using C#, Clojure, C++, Java and Javascript.

More information can be found at http://www.logicdispatch.com and my email address is in my profile.


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

Search: