Austin Zheng has some code here
https://github.com/austinzheng/swift-lambdatron
that implements the basic syntax of Clojure with a REPL but does not
compile to LLVM bitcode yet. He's working on some cool ideas. I really like
Mike Fikes work on Goby and the example app Shrimp, and I've been
Here is a project by Austin Zheng to implement Clojure in Swift
https://github.com/austinzheng/swift-lambdatron (swift-lambdatron). He
has some basics implemented with a REPL, but it does not compile to LLVM
bitcode yet. He's talking about moving to Rust somehow… I'm still pretty
new to
On Monday, December 8, 2014 1:45:43 PM UTC-5, Sven Pedersen wrote:
Austin Zheng has some code here
https://github.com/austinzheng/swift-lambdatron
that implements the basic syntax of Clojure with a REPL but does not
compile to LLVM bitcode yet. He's working on some cool ideas. I really like
All the options I mentioned -- swift-lambdatron, Goby, and RoboVM can be
used to make apps to submit to the app store. None require jail breaking.
Goby and RoboVM have been used for apps that were accepted.
The compiled form of each app is a bonified Objective-C style LLVM binary.
The ClojureSwift
Also worth mentioning is Gal Dolber's project
https://github.com/galdolber/clojure-objc. It's a modified version of the
Clojure compiler which outputs Java source instead of bytecode, and then
uses Google's J2Objc project. It's pretty neat - he has two iOS apps live
which were totally written in
Also, LLVM does support
Swift seems to support Tail Call Optimization, according to this thread:
http://stackoverflow.com/questions/24023580/does-swift-implement-tail-call-optimization-and-in-mutual-recursion-case
I'm not familiar with the term fixnum, but if you mean the Ruby term for
machine
That is cool :)
On Tuesday, 24 June 2014 19:29:00 UTC+1, Mike Fikes wrote:
(Apologies to Greg for having essentially hijacked this thread, but I
suspect he'd find this cool.)
I have no experience with the Swift REPL yet, but I'm still finding this a
little surreal:
In the upcoming IOS8, UIWebView has the same (JITed) performance as the
Safari, the distinction has been removed due to using the new inter-app
communication mechanism. This allows the remote application
(Safari/JavascriptCore/UIWebView) to display a view into another process,
thus bypassing the
That's cool!
What I haven't been able to figure out is if we actually get FTL with
JavaScriptCore on iOS 8, or better yet, if we can somehow gain access to a
JSContext from the WKWebView.
More detail: I'm using ClojureScript to develop what are otherwise native
iOS apps. (Meaning using UIKit,
(Apologies to Greg for having essentially hijacked this thread, but I
suspect he'd find this cool.)
I have no experience with the Swift REPL yet, but I'm still finding this a
little surreal:
https://lh6.googleusercontent.com/-Z7ulXotc4N4/U6nCQgnWuPI/AJc/700UBdqm3d0/s1600/repl.jpg
Nothing to add other than to say this is really cool stuff :)
David
On Tue, Jun 24, 2014 at 2:29 PM, Mike Fikes mikefi...@me.com wrote:
(Apologies to Greg for having essentially hijacked this thread, but I
suspect he'd find this cool.)
I have no experience with the Swift REPL yet, but I'm
Thanks David! Targeting ClojureScript to iOS just got an order of magnitude
easier for me.
I want to say that Colin Fleming (Cursive) has been extremely helpful in
helping me sort out how to achieve this.
--
You received this message because you are subscribed to the Google
Groups Clojure
Mike's doing all the hard work on this :-)
Very interesting project - CLJS may be a viable option for iOS app
development, which is pretty exciting stuff.
One thing I dimly remember from somewhere (HN, maybe) was that
JavaScriptCore apps wouldn't get JIT'ed, because iOS apps have no access to
I believe you're right Colin. JavaScriptCore doesn't use the JIT compiler
[1]. There might be a possibility of that changing though
1. http://phoboslab.org/log/2011/04/ios-and-javascript-for-real-this-time
On Wed, Jun 25, 2014 at 6:13 AM, Colin Fleming colin.mailingl...@gmail.com
wrote:
Hey Devin,
You had asked to see some code. Here is a little, to give a feel for the
“top level” without digging into the plumbing.
Let's say you want an authentication UI that lets you enter a 6-digit code
with a keypad and asterisk indicators showing how many digits have been
keyed. Here is
Hi Devin,
A great place to start is
http://web.cecs.pdx.edu/~cpinera/javascriptcore-integration-with-clojurescript-in-ios.html
(some slight modifications are required to get that blog post examples working
with the latest, but it's not that hard).
Another great resource is the WWDC 2013 video
Very helpful info Mike, thank you.
I'll fire up Xcode this weekend, give what you're saying a try, and report back.
Thanks!
'(Devin Walters)
On Jun 12, 2014, at 8:14, Mike Fikes mikefi...@me.com wrote:
Hi Devin,
A great place to start is
On Thu, Jun 12, 2014 at 8:14 AM, Mike Fikes mikefi...@me.com wrote:
Hi Devin,
A great place to start is
http://web.cecs.pdx.edu/~cpinera/javascriptcore-integration-with-clojurescript-in-ios.html
(some slight modifications are required to get that blog post examples
working with the latest,
Not me, but if I needed to build a web app, Cappuccino and Om would be on my
list of things to dig into
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are
GC means pauses. Swift doesn't have proper GC, only ref counting because of
that. GC pauses in UI are bad.
I like idea of Clojure on some new fancy high performance language like Go
or Swift.
On Wednesday, June 4, 2014 4:08:17 PM UTC+2, tbc++ wrote:
I'm starting to feel like a broken record,
I've been writing iOS apps in clojure for some time now. Believe me when I
say that Interface Builder is the least of your problems. I wrote a small
lib https://github.com/galdolber/uikit to generate iOS interfaces from
clojure data structures.
Aside from being able to compose ui like never
While Gal's approach of ditching IB is fine, I still use it, but bind UI
components to atoms in ClojureScript. Once that is done, you have a lot of
power at your disposal on the ClojureScript side of the JavaScriptCore bridge:
With atom watchers you can react to UI state changes, feed them
If I had a small fortune I would pay you to sit down and show me how this
business you're talking about works. Sounds really cool. Is doing this kind if
thing documented well anywhere? I'd love to see some code and your workflow.
'(Devin Walters)
On Jun 11, 2014, at 15:30, Mike Fikes
Maybe ClojureSwift does have potential, even with respect to *performance* as
well: There's decent speculative chatter [1] about Swift’s safety enabling
aggressive optimizations that can't be performed in unsafe languages like
Objective-C, with Swift outperforming on RC4 and other benchmarks.
The recent release of Swift made me revisit Clojure on LLVM. This post from
2010 https://groups.google.com/d/msg/clojure/KrwtTsdYZ8I/Qf8PSMeoZCUJ
suggests it's a very difficult task.
Swift would make this job easier? As with ClojureScript, generate Swift
code / provide interop and Clojurian's
I'm starting to feel like a broken record, but here we go.
Some things to think about:
1) Why do you want this? The JVM GC and JIT are some of the fastest (if not
the fastest) on the planet, so performance will never be a good reason to
do this.
2) Do you want something like eval? As far as I
I have been experimenting writing an iOS app using ClojureScript embedded in
JavaScriptCore, where the ClojureScript essentially implements the logic of my
view controllers which drive native UI.
So far, this approach seems like a reasonable one to “writing iOS apps using
Clojure.”
You
@Timothy, you mention speed a lot, but I'm not sure where in the OP it
mentioned wanting to do this for speed at all. I think the intention is to
be able to Clojure on a different platform, is all.
On Wed, Jun 4, 2014 at 4:58 PM, Mike Fikes mikefi...@me.com wrote:
I have been experimenting
I wasn't really pointing at performance with my post. More about native app
development, for OSX we have Clojure on the JVM which is fine. I don't see
Apple allowing Java on iOS anytime though.
Thanks for the replies so far, this was purely food for thought.
On Wednesday, 4 June 2014 16:11:56
I wouldn't pass judgement on Swift too soon. Eval works just fine in the
REPL and it appears the language supports hot code loads out of the box.
Swift also has real support for final fields via 'let'. I personally think
a ClojureSwift could be quite interesting :)
On Wednesday, June 4, 2014,
Does Swift have any static types to harvest? :)
On Thu, Jun 5, 2014 at 1:50 AM, David Nolen dnolen.li...@gmail.com wrote:
I wouldn't pass judgement on Swift too soon. Eval works just fine in the
REPL and it appears the language supports hot code loads out of the box.
Swift also has real
31 matches
Mail list logo