Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!216.196.98.144.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:22:12 -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:22:12 -0500 Lines: 23 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-LRlPuKL8W6kP/UioxQZJXHNw7GFtQXnas4EqFH65E6DZoxVdlCUHBwUqDt4qZinXDvX0wAoShg5s92s!D2RhaRRXgcakQVnv073pT7A+xvS6yEX9mKev3oQn2vWDzmOJfLx1qmQxR/pKi8dWSuutErHvRw== 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: 2311 Xref: csiph.com comp.lang.java.programmer:15527 On Fri, 22 Jun 2012 13:00:02 +0100, rossum wrote: > On Thu, 21 Jun 2012 22:08:37 -0500, "Aaron W. Hsu" > wrote: > > By all means eleminate boxing if you boxing program runs too slowly, but > until you have written it, tested it and profiled it to show that boxing > is the problem then you have no reason to avoid boxing. I will be posting a more complete set of examples which demonstrates the issues I have later today, once I have trimmed them all down to proper size, but I should mention that I am not trying to use Java as an end-user here, but as the means to defining the core runtime data structures and language primitives for use as the core vocabulary for a compiler that I am writing, which compiles another language to JVM. Thank you for pointing out that boxing might not matter, though in all my experiences, it does. I'll post actual code soon, though, to see whether this is just ignorance on my part. -- Aaron W. Hsu | arcfide@sacrideo.us | http://www.sacrideo.us Programming is just another word for the lost art of thinking.