Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!216.196.98.142.MISMATCH!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 22 Jun 2012 15:13:16 -0500 From: "Aaron W. Hsu" Subject: Re: Dealing with higher order operations coupled with primitives Newsgroups: comp.lang.java.programmer References: <6s2dnZ1-8r4ofH7SnZ2dnUVZ_s6dnZ2d@giganews.com> User-Agent: Pan/0.137 (The Mattel and Mars Bar Quick Energy Chocobot Hour; GIT 9a6aef1 git://git.gnome.org/pan2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-ID: Date: Fri, 22 Jun 2012 15:13:17 -0500 Lines: 15 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-fz2vfZu1zbslIhTHo1VbECl7SVLQCRzUiOUXwD7dxndBMYrhioSUQafr9zFsG2dATmdDVasAnsDeD7E!oV+Wl9Ii9qFhhD1K+LSa1aMG4hFPJkWiqbqyC13cKTuVKgZpiSjtIevjWkIrs7gkCCK3hyzGCg== X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1919 Xref: csiph.com comp.lang.java.programmer:15525 On Thu, 21 Jun 2012 23:17:39 -0400, Gina Engli wrote: > Wouldn't it be easier to just use Clojure for the higher-order stuff, > and its map, reduce, etc. or amap, areduce, etc.? It would be "easier" to code this up in a number of languages, but I am trying to build a core runtime for a compiler that will compile either to Java or to JVM, either one of which, it seems, I will need the core language primitives to be defined somehow, and right now the fastest version of the runtime that I have implemented is in Java; things like Scala and the like have not been as fast. -- Aaron W. Hsu | arcfide@sacrideo.us | http://www.sacrideo.us Programming is just another word for the lost art of thinking.