Re: Java Scala

2011-12-22 Thread Russel Winder
On Tue, 2011-12-20 at 02:41 -0500, Paulo Pinto wrote: [...] I think that it is more important that developers learn proper data structures and algorithms together with computer architecture than just Assembly, specially if you are dealing with heterogeneous computing as it is becoming standard

Re: Java Scala

2011-12-21 Thread Russel Winder
On Tue, 2011-12-20 at 23:13 -0800, Isaac Gouy wrote: From: Russel Winder rus...@russel.org.uk [...] Actually I am surprised that Java does so well in this comparison due to its start-up time issues. Perhaps the start-up time issues are less than you suppose. Very possibly the case, I

Re: Java Scala

2011-12-21 Thread Isaac Gouy
From: Russel Winder rus...@russel.org.uk Sent: Wednesday, December 21, 2011 1:43 AM Subject: Re: Java Scala Your Groovy rewrite effort didn't contribute a single program in 6 months ! In the interim Groovy had been ejected so there was no point. That is not true - Groovy had

Re: Java Scala

2011-12-21 Thread Russel Winder
On Tue, 2011-12-20 at 10:31 -0800, Isaac Gouy wrote: [...] Your words are clear - ... designed to show Your false accusation is about purpose and intention - you should take back that accusation. As you have interpreted it, that is true. I take back the accusation you have observed,

Re: Java Scala

2011-12-21 Thread Russel Winder
On Wed, 2011-12-21 at 08:05 -0800, Isaac Gouy wrote: [...] That is not true - Groovy had not been ejected. Your 6 month failure to contribute a single program was a strong reason measurements were not made for Groovy programs on the new hardware following September 2009. The lack of

Re: Java Scala

2011-12-21 Thread Russel Winder
On Tue, 2011-12-20 at 06:45 -0600, Andrei Alexandrescu wrote: [...] I was also in the academia, doing PL research no less. The academic interest was not of commercial nature for the most part - Java _is_ a clean language great for doing research of both kinds: (a) research that studies

Re: Java Scala

2011-12-20 Thread Russel Winder
On Sun, 2011-12-18 at 03:57 -0600, Andrei Alexandrescu wrote: [...] It's quite amazing how many discussions a la Java is successful because... completely neglect an essential point: one BILLION dollars was poured into Java, a significant fraction of which was put in branding, marketing, and

Re: Java Scala

2011-12-20 Thread Caligo
On Tue, Dec 20, 2011 at 2:09 AM, Russel Winder rus...@russel.org.uk wrote: Musicians are coming up with new ways of funding things that is working very well. Pre-sales. Put out the road-map and business plan for an album or concert. Take bookings and money before committing to anything,

Re: Java Scala

2011-12-20 Thread Walter Bright
On 12/19/2011 11:41 PM, Paulo Pinto wrote: I think that it is more important that developers learn proper data structures and algorithms together with computer architecture than just Assembly, specially if you are dealing with heterogeneous computing as it is becoming standard nowadays.

Re: Java Scala

2011-12-20 Thread Walter Bright
On 12/19/2011 11:42 PM, Russel Winder wrote: I think this might be more true of native code languages than virtual machine languages. Java programmers generally don't know the bytecodes, Python programmers generally don't know the bytecodes, Ruby programmers generally don't know the bytecodes

Re: Java Scala

2011-12-20 Thread Andrei Alexandrescu
On 12/20/11 2:09 AM, Russel Winder wrote: On Sun, 2011-12-18 at 03:57 -0600, Andrei Alexandrescu wrote: [...] It's quite amazing how many discussions a la Java is successful because... completely neglect an essential point: one BILLION dollars was poured into Java, a significant fraction of

Re: Java Scala

2011-12-20 Thread Andrei Alexandrescu
On 12/20/11 2:09 AM, Russel Winder wrote: Publishers as well as academics were culpable in the mass mania. A revamp in the university curriculum meant new books and new sales, so they pushed it as hard as possible. Dietel, once a prominent operating systems author, created a not so great

Re: Java Scala

2011-12-20 Thread Andrei Alexandrescu
On 12/20/11 2:26 AM, Caligo wrote: On Tue, Dec 20, 2011 at 2:09 AM, Russel Winder rus...@russel.org.uk mailto:rus...@russel.org.uk wrote: Musicians are coming up with new ways of funding things that is working very well. Pre-sales. Put out the road-map and business plan for an

Re: Java Scala

2011-12-20 Thread J Arrizza
On Mon, Dec 19, 2011 at 12:48 PM, Walter Bright newshou...@digitalmars.comwrote: On 12/19/2011 11:52 AM, ddverne wrote: On Sunday, 18 December 2011 at 07:09:21 UTC, Walter Bright wrote: A programmer who doesn't know assembler is never going to write better than second rate programs.

Re: Java Scala

2011-12-20 Thread Isaac Gouy
From: Russel Winder rus...@russel.org.uk Sent: Monday, December 19, 2011 11:29 PM If you want to look at even more biased benchmarking look at http://shootout.alioth.debian.org/ it is fundamentally designed to show that C is the one true language for writing performance

Re: Java Scala

2011-12-20 Thread Walter Bright
On 12/20/2011 8:29 AM, J Arrizza wrote: My point is being comfortable with assembler is likely an effect not a cause. If you have the motivation and skills to pick up assembler in a semester then you are probably going to be a better programmer in the end simply because of your motivation and

Re: Java Scala

2011-12-20 Thread ddverne
On Tuesday, 20 December 2011 at 19:18:30 UTC, Walter Bright wrote: I don't agree, as I had been programming for two years before I learned assembler. My high level code made dramatic improvements after that. I'm really curious, could you give us some examples of those improvements?

Re: Java Scala

2011-12-20 Thread Andrei Alexandrescu
On 12/20/11 1:29 AM, Russel Winder wrote: The system as set out is biased though, systematically so. This is not a problem per se since all the micro-benchmarks are about computationally intensive activity. Native code versions are therefore always going to appear better. But then this is

Re: Java Scala

2011-12-20 Thread J Arrizza
On Tue, Dec 20, 2011 at 11:18 AM, Walter Bright I don't agree, as I had been programming for two years before I learned assembler. My high level code made dramatic improvements after that. It's not my style to pass out compliments, but, well, hey, you can't really use yourself as a typical

Re: Java Scala

2011-12-20 Thread Walter Bright
On 12/20/2011 11:29 AM, ddverne wrote: On Tuesday, 20 December 2011 at 19:18:30 UTC, Walter Bright wrote: I don't agree, as I had been programming for two years before I learned assembler. My high level code made dramatic improvements after that. I'm really curious, could you give us some

Re: Java Scala

2011-12-20 Thread Isaac Gouy
From: Russel Winder rus...@russel.org.uk Sent: Monday, December 19, 2011 11:29 PM As for your other comments: The opening page does indeed set out that you have to be very careful with the data to avoid comparing apples and oranges.  No, the opening page says - A comparison between

Re: Java Scala

2011-12-19 Thread Isaac Gouy
From: Walter Bright newshou...@digitalmars.com Sent: Sunday, December 18, 2011 10:46 PM On 12/18/2011 11:08 AM, Isaac Gouy wrote: I rather object to the baseless accusation that the benchmarks game is designed to show that C is the one true language for writing performance

Re: Java Scala

2011-12-19 Thread ddverne
On Sunday, 18 December 2011 at 07:09:21 UTC, Walter Bright wrote: A programmer who doesn't know assembler is never going to write better than second rate programs. Please I don't want to flame this thread or anything like that, but this isn't a lack of modesty or a little odd? The phrase:

Re: Java Scala

2011-12-19 Thread dsimcha
On Monday, 19 December 2011 at 19:52:41 UTC, ddverne wrote: On Sunday, 18 December 2011 at 07:09:21 UTC, Walter Bright wrote: A programmer who doesn't know assembler is never going to write better than second rate programs. Please I don't want to flame this thread or anything like that, but

Re: Java Scala

2011-12-19 Thread Walter Bright
On 12/19/2011 11:52 AM, ddverne wrote: On Sunday, 18 December 2011 at 07:09:21 UTC, Walter Bright wrote: A programmer who doesn't know assembler is never going to write better than second rate programs. Please I don't want to flame this thread or anything like that, but this isn't a lack of

Re: Java Scala

2011-12-19 Thread Walter Bright
On 12/19/2011 12:38 PM, dsimcha wrote: Programming on punchcards is equivalent to typing: It is/was sometimes a necessary practical skill, but there's nothing conceptually deep about it that makes it worth learning even if it's not immediately practical. The only worthwhile skill with

Re: Java Scala

2011-12-19 Thread bearophile
Walter: The only worthwhile skill with punchcards is trying to delicately punch out every hole without breaking any of the bridges between holes. Given the amount of time it takes to punch the cards, waiting for your turn to run the program, and reading the printouts, I think punchcards also

Re: Java Scala

2011-12-19 Thread Walter Bright
On 12/19/2011 1:35 PM, bearophile wrote: Given the amount of time it takes to punch the cards, waiting for your turn to run the program, and reading the printouts, I think punchcards also teach you to use your brain first and to think before doing/trying things, instead of going by trial and

Re: Java Scala

2011-12-19 Thread bearophile
Walter: I've never seen any evidence that punchcards made one a better programmer. For sure, one wrote far fewer programs, and infinitely shorter ones, with punchcards, and so simply lack of experience would make one worse. This is is right. Nowdays chess gamers across the world are

Re: Java Scala

2011-12-19 Thread ddverne
On Monday, 19 December 2011 at 20:48:28 UTC, Walter Bright wrote: Sure, you can interpret that as arrogance on my part, with justification. On the other hand, I have a lot of experience working with people who do know assembler, and who do not. I see the effects of not knowing it in their

Re: Java Scala

2011-12-19 Thread Vladimir Panteleev
On Tuesday, 20 December 2011 at 00:55:35 UTC, ddverne wrote: instead, I'm saying that you should avoid this type of commentary on community where you are one of the leaders because some people may felt offended and you can have your image tarnished. http://www.youtube.com/watch?v=cycXuYzmzNg

Re: Java Scala

2011-12-19 Thread Russel Winder
On Mon, 2011-12-19 at 13:26 -0800, Walter Bright wrote: [...] I should have kept some of my old punchcard decks. I have about 7,000 Fortran cards left, they are all pristine. They are great for shopping lists and writing reminders during meetings. I haven't tried actually punching holes in

Re: Java Scala

2011-12-19 Thread Russel Winder
On Mon, 2011-12-19 at 14:39 -0800, Walter Bright wrote: On 12/19/2011 1:35 PM, bearophile wrote: Given the amount of time it takes to punch the cards, waiting for your turn to run the program, and reading the printouts, I think punchcards also teach you to use your brain first and to think

Re: Java Scala

2011-12-19 Thread Jonathan M Davis
On Tuesday, December 20, 2011 06:40:40 Russel Winder wrote: On Mon, 2011-12-19 at 13:26 -0800, Walter Bright wrote: [...] I should have kept some of my old punchcard decks. I have about 7,000 Fortran cards left, they are all pristine. They are great for shopping lists and writing

Re: Java Scala

2011-12-19 Thread Russel Winder
On Sun, 2011-12-18 at 17:08 -0600, Andrei Alexandrescu wrote: On 12/18/11 1:08 PM, Isaac Gouy wrote: From: Russel Winder Subject: Re: Java Scala Newsgroups: gmane.comp.lang.d.general Sat, 17 Dec 2011 22:18:26 -0800 I really rather object to being labelled an educated idiot

Re: Java Scala

2011-12-19 Thread Russel Winder
On Sun, 2011-12-18 at 01:51 -0800, Walter Bright wrote: On 12/17/2011 11:23 PM, Russel Winder wrote: It's the indirection thing again: rather than provide a C toolchain for each platform, you load Java (or Python, Ruby, ...) which is already precompiled for the platform which then allows a

Re: Java Scala

2011-12-19 Thread Paulo Pinto
Better than learning Assembly, people should also spend some time learning data structures and advanced algorithms. Have a read at Knuth's books or similar. Being 35, I grew up with Assembly, but nowadays what makes my heart cry is the quality of code I see written everyday by our junior

Re: Java Scala

2011-12-19 Thread Russel Winder
On Sun, 2011-12-18 at 03:03 -0600, Caligo wrote: [...] You reacted to my original comment about Java the same way Bob reacted when I told him that Ford pick-up trucks suck. If someone takes something personally, that tells me that it's part of their identity. That's pretty good for an

Re: Java Scala

2011-12-18 Thread Caligo
On Sun, Dec 18, 2011 at 12:17 AM, Russel Winder rus...@russel.org.ukwrote: On Sat, 2011-12-17 at 22:45 -0600, Caligo wrote: [...] I thought this thread had finished, but... That's like saying people should take Coke and Pepsi more seriously because they have bigger market shares when

Re: Java Scala

2011-12-18 Thread Walter Bright
On 12/17/2011 11:23 PM, Russel Winder wrote: It's the indirection thing again: rather than provide a C toolchain for each platform, you load Java (or Python, Ruby, ...) which is already precompiled for the platform which then allows a single toolchain across all platforms. If you can compile

Re: Java Scala

2011-12-18 Thread Andrei Alexandrescu
On 12/17/11 10:45 PM, Caligo wrote: D is already a success, a BIG success. Walter and Andrei (and the amazing community, of course) have created a programming language that is light years ahead of C++, Java and Go. Well if by success you mean we didn't find totally embarrassing flaws in its

Re: Java Scala

2011-12-18 Thread dsimcha
On 12/18/2011 2:14 AM, Russel Winder wrote: Python is also used in industry and commerce, so it is not just a teaching language. Almost all post-production software uses C++ and Python. Most HPC is now Fortran, C++ and Python. This latter would be a great area for D to try and break into,

Re: Java Scala

2011-12-18 Thread Russel Winder
On Sun, 2011-12-18 at 10:30 -0500, dsimcha wrote: [...] Please elaborate. I think D for HPC is a terrific idea. It's the only language I know of with all of the following four attributes: For years HPC was Fortran only (*). Many of the codes used today were written in the 1970s and Fortran

Re: Java Scala

2011-12-18 Thread Andrej Mitrovic
On 12/18/11, Walter Bright newshou...@digitalmars.com wrote: A programmer who doesn't know assembler is never going to write better than second rate programs. I dare you to say that Optlink is a first-rate program.

Re: Java Scala

2011-12-18 Thread dsimcha
On 12/18/2011 2:09 AM, Walter Bright wrote: A programmer who doesn't know assembler is never going to write better than second rate programs. I don't even know assembler that well and I agree 100%. I can read bits of assembler and recognize compiler optimizations and could probably

Re: Java Scala

2011-12-18 Thread Walter Bright
On 12/18/2011 9:01 AM, Andrej Mitrovic wrote: On 12/18/11, Walter Brightnewshou...@digitalmars.com wrote: A programmer who doesn't know assembler is never going to write better than second rate programs. I dare you to say that Optlink is a first-rate program. It is. In its heyday it beat

Re: Java Scala

2011-12-18 Thread Walter Bright
On 12/18/2011 8:20 AM, Russel Winder wrote: (*) FORTRAN and Fortran are different languages. The case was changed formally with the Fortran 1995 standard. *Finally*!

Re: Java Scala

2011-12-18 Thread Paulo Pinto
Walter Bright Wrote: On 12/17/2011 10:36 PM, Russel Winder wrote: In all of this, the issue of portability of code has seemingly been missed. One of the main reasons for Java in 1995 (other than the trendiness of Web browser programming) was portability across all platforms. This made

Re: Java Scala

2011-12-18 Thread Walter Bright
On 12/18/2011 11:00 AM, Paulo Pinto wrote: Walter Bright Wrote: I find this an odd statement because the Java VM is written in C, so therefore it is on the same or fewer platforms than C. Which specific Java VM are you talking about? They come in all flavors, written in Assembly, C, C++ and

Re: Java Scala

2011-12-18 Thread Paulo Pinto
Walter Bright Wrote: On 12/18/2011 11:00 AM, Paulo Pinto wrote: Walter Bright Wrote: I find this an odd statement because the Java VM is written in C, so therefore it is on the same or fewer platforms than C. Which specific Java VM are you talking about? They come in all

Re: Java Scala

2011-12-18 Thread Paulo Pinto
I saw it live in CERN when I stayed there during 2003-04 timeframe. Depending on the research group, the code was either mostly Fortran or C++. Python is used everywhere from running builds, automate data acquisition or show nice data GUIs. On my group, TDAQ-Atlas, Java was actually used for the

Re: Java Scala

2011-12-18 Thread Andrei Alexandrescu
On 12/18/11 1:00 PM, Paulo Pinto wrote: Walter Bright Wrote: On 12/17/2011 10:36 PM, Russel Winder wrote: In all of this, the issue of portability of code has seemingly been missed. One of the main reasons for Java in 1995 (other than the trendiness of Web browser programming) was

Re: Java Scala

2011-12-18 Thread so
On Sun, 18 Dec 2011 22:08:54 +0200, Paulo Pinto pj...@progtools.org wrote: The SunSpot VM is written in Java with a very small subset of C code. http://www.sunspotworld.com http://labs.oracle.com/projects/squawk/squawk-rjvm.html The Jikes RVM is written mostly in Java.

Re: Java Scala

2011-12-18 Thread Isaac Gouy
From: Russel Winder Subject: Re: Java Scala Newsgroups: gmane.comp.lang.d.general Sat, 17 Dec 2011 22:18:26 -0800 I really rather object to being labelled an educated idiot. ... If you want to look at even more biased benchmarking look at http://shootout.alioth.debian.org

Re: Java Scala

2011-12-18 Thread Paulo Pinto
so Wrote: On Sun, 18 Dec 2011 22:08:54 +0200, Paulo Pinto pj...@progtools.org wrote: The SunSpot VM is written in Java with a very small subset of C code. http://www.sunspotworld.com http://labs.oracle.com/projects/squawk/squawk-rjvm.html The Jikes RVM is written mostly in Java.

Re: Java Scala

2011-12-18 Thread Alex Rønne Petersen
On 18-12-2011 21:08, Paulo Pinto wrote: Walter Bright Wrote: On 12/18/2011 11:00 AM, Paulo Pinto wrote: Walter Bright Wrote: I find this an odd statement because the Java VM is written in C, so therefore it is on the same or fewer platforms than C. Which specific Java VM are you talking

Re: Java Scala

2011-12-18 Thread Andrej Mitrovic
On 12/18/11, Walter Bright newshou...@digitalmars.com wrote: It is. In its heyday.. s/is/was. My PC doesn't have a turbo button anymore. ;)

Re: Java Scala

2011-12-18 Thread Andrei Alexandrescu
On 12/18/11 1:08 PM, Isaac Gouy wrote: From: Russel Winder Subject: Re: Java Scala Newsgroups: gmane.comp.lang.d.general Sat, 17 Dec 2011 22:18:26 -0800 I really rather object to being labelled an educated idiot. If you want to look at even more biased benchmarking look at http

Re: Java Scala

2011-12-18 Thread Andrei Alexandrescu
On 12/18/11 5:15 PM, Somedude wrote: Here is the kind of performance you can expect from the JVM: a factor of 2.5x to native C++. That's from the Box2D physics game engine. http://blog.j15r.com/2011/12/for-those-unfamiliar-with-it-box2d-is.html This is very much in line with what the The

Re: Java Scala

2011-12-18 Thread Somedude
Le 19/12/2011 00:08, Andrei Alexandrescu a écrit : On 12/18/11 1:08 PM, Isaac Gouy wrote: From: Russel Winder Subject: Re: Java Scala Newsgroups: gmane.comp.lang.d.general Sat, 17 Dec 2011 22:18:26 -0800 I really rather object to being labelled an educated idiot. If you want to look

Re: Java Scala

2011-12-18 Thread Somedude
Le 19/12/2011 00:26, Andrei Alexandrescu a écrit : On 12/18/11 5:15 PM, Somedude wrote: Here is the kind of performance you can expect from the JVM: a factor of 2.5x to native C++. That's from the Box2D physics game engine.

Re: Java Scala

2011-12-18 Thread Isaac Gouy
From: Somedude lovelyd...@mailmetrash.com To: digitalmars-d@puremagic.com Sent: Sunday, December 18, 2011 4:02 PM -snip- It's very dependant on how you program of course, but I'd say the ballpark is usually at least an order of magnitude more. Java wastes a LOT of memory. Note the

Re: Java Scala

2011-12-18 Thread Andrei Alexandrescu
On 12/18/11 5:40 PM, Somedude wrote: And I still pray to see D back in the shootout. Praying might help. Working on it may actually be more effective :o). Andrei

Re: Java Scala

2011-12-18 Thread Andrew Wiley
On Sun, Dec 18, 2011 at 3:14 PM, Paulo Pinto pj...@progtools.org wrote: so Wrote: On Sun, 18 Dec 2011 22:08:54 +0200, Paulo Pinto pj...@progtools.org wrote: The SunSpot VM is written in Java with a very small subset of C code. http://www.sunspotworld.com

Re: Java Scala

2011-12-18 Thread Walter Bright
On 12/18/2011 1:14 PM, Paulo Pinto wrote: quote: ... I find this an odd statement because the Java VM is written in C, so therefore it is on the same or fewer platforms than C. ... Means a VM written in 100% C code, which is not the case for the VMs I have listed. Some of them the only C code

Re: Java Scala

2011-12-18 Thread Walter Bright
On 12/18/2011 11:08 AM, Isaac Gouy wrote: I rather object to the baseless accusation that the benchmarks game is designed to show that C is the one true language for writing performance computation. Your accusation is false. Your accusation is ignorant (literally). This is why I quit posting

Re: Java Scala

2011-12-18 Thread Jacob Carlborg
On 2011-12-18 21:29, Andrei Alexandrescu wrote: On 12/18/11 1:00 PM, Paulo Pinto wrote: Walter Bright Wrote: On 12/17/2011 10:36 PM, Russel Winder wrote: In all of this, the issue of portability of code has seemingly been missed. One of the main reasons for Java in 1995 (other than the

Re: Java Scala

2011-12-17 Thread Caligo
On Fri, Dec 2, 2011 at 2:19 AM, Russel Winder rus...@russel.org.uk wrote: Java is the main language of development just now. D is a tiny little backwater in the nether regions of obscurity. If any language is a joke here, it is D since it is currently unable to claim any serious market

Re: Java Scala

2011-12-17 Thread Jonathan M Davis
On Saturday, December 17, 2011 22:45:51 Caligo wrote: On Fri, Dec 2, 2011 at 2:19 AM, Russel Winder rus...@russel.org.uk wrote: Java is the main language of development just now. D is a tiny little backwater in the nether regions of obscurity. If any language is a joke here, it is D since

Re: Java Scala

2011-12-17 Thread Russel Winder
On Sat, 2011-12-17 at 22:45 -0600, Caligo wrote: [...] I thought this thread had finished, but... That's like saying people should take Coke and Pepsi more seriously because they have bigger market shares when in reality all you need is water. Money isn't real, you know? Taking that

Re: Java Scala

2011-12-17 Thread Russel Winder
On Sat, 2011-12-17 at 21:01 -0800, Jonathan M Davis wrote: [...] In my experience, it's the professors who get to choose what they're teaching and the main reason that Java is used is a combination of its simplicitly and the fact that it's heavily used in the industry. C and C++ have a lot

Re: Java Scala

2011-12-17 Thread Caligo
On Sat, Dec 17, 2011 at 11:01 PM, Jonathan M Davis jmdavisp...@gmx.comwrote: In my experience, it's the professors who get to choose what they're teaching and the main reason that Java is used is a combination of its simplicitly and the fact that it's heavily used in the industry. C and C++

Re: Java Scala

2011-12-17 Thread Walter Bright
On 12/17/2011 10:36 PM, Russel Winder wrote: In all of this, the issue of portability of code has seemingly been missed. One of the main reasons for Java in 1995 (other than the trendiness of Web browser programming) was portability across all platforms. This made the sys admin of provision of

Re: Java Scala

2011-12-17 Thread Russel Winder
On Sun, 2011-12-18 at 00:38 -0600, Caligo wrote: [...] In my experience professors only get to choose what to wear to class, lol. :-) It's interesting how many professors choose the same exact text book for the same courses they teach. And it's also interesting how those textbooks cost 10

Re: Java Scala

2011-12-17 Thread Russel Winder
On Sat, 2011-12-17 at 23:09 -0800, Walter Bright wrote: [...] I find this an odd statement because the Java VM is written in C, so therefore it is on the same or fewer platforms than C. It's the indirection thing again: rather than provide a C toolchain for each platform, you load Java (or

Re: Java Scala

2011-12-17 Thread Jonathan M Davis
On Sunday, December 18, 2011 06:17:22 Russel Winder wrote: The problem here is that educators forgot the importance of learning multiple languages and especially multiple paradigms. Java was used for all teaching and students suffered. If they had used Java and Haskell and Prolog things would

Re: Java Scala

2011-12-14 Thread Andrej Mitrovic
On 12/3/11, David Nadlinger s...@klickverbot.at wrote: Anyway, fixed in trunk along with a few other issues: Thanks again. I've had some trouble building SWIG but that was because libpcre3 was missing, I got it to build and the samples seem to work now for 2.056.

Re: Java Scala

2011-12-12 Thread Jacob Carlborg
On 2011-12-12 07:54, Andrej Mitrovic wrote: On 12/7/11, Andrej Mitrovicandrej.mitrov...@gmail.com wrote: That's what the theming API is for on Windows. OSX might have something similar. Harmonia uses the theming API, for OSX/Linux you can take a look at Qt and how they skin their widgets.

Re: Java Scala

2011-12-11 Thread Andrej Mitrovic
On 12/7/11, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: That's what the theming API is for on Windows. OSX might have something similar. Harmonia uses the theming API, for OSX/Linux you can take a look at Qt and how they skin their widgets. By theming API I mean Visual Styles on

Re: Haxe (From: Java Scala - new thread: GUI for D)

2011-12-08 Thread Adrian
Am 07.12.2011 15:16, schrieb Adam Ruppe: Adrian Wrote: [OT] As a side point from a not yet D developer, but someone who looks at the language with great interest, but also someone with a commercial responsibility: I am missing big projects developed in D and the most logic project would be

Re: Haxe (From: Java Scala - new thread: GUI for D)

2011-12-08 Thread Danny Wilson
Nick Sabalausky wrote: So anyway, with my own Haxe implementation, I can just add an optional -sane switch to enable either a runtime or compile-time check...And nobody can stop me!! Mwuuahahahaha!! AH HA HA HA!!! BWAH HA HA HA!@!!! HAHhahahaAHHAAHA - As a long time haXe user I appreciate

Re: Haxe (From: Java Scala - new thread: GUI for D)

2011-12-08 Thread Nick Sabalausky
Danny Wilson da...@decube.net wrote in message news:jbrjp6$n54$1...@digitalmars.com... Nick Sabalausky wrote: So anyway, with my own Haxe implementation, I can just add an optional -sane switch to enable either a runtime or compile-time check...And nobody can stop me!! Mwuuahahahaha!! AH

Re: Java Scala

2011-12-07 Thread Jacob Carlborg
On 2011-12-06 20:14, Adam Wilson wrote: My goal for the project is what you would term non-native in that it does not make use of the OS widgets; however the plan is to provide native looking skins for the widgets. I'd like to design something that interfaces with the machine at a lower level

Re: Haxe (From: Java Scala - new thread: GUI for D)

2011-12-07 Thread Adam Ruppe
Adrian Wrote: [OT] As a side point from a not yet D developer, but someone who looks at the language with great interest, but also someone with a commercial responsibility: I am missing big projects developed in D and the most logic project would be the compiler itself! I know this has been

Re: Haxe (From: Java Scala - new thread: GUI for D)

2011-12-07 Thread Nick Sabalausky
Adrian adrian.remove-nos...@veith-system.de wrote in message news:jbnmoo$2seg$1...@digitalmars.com... The downside would be, that there is the risk of incompatibilities of the compilers, leading to 2 different dialects, which would force the users of both, only to use the subset of the

Re: Java Scala

2011-12-06 Thread Andrej Mitrovic
On 12/6/11, Jacob Carlborg d...@me.com wrote: Doesn't sound very effective. I don't know what that bubbling is all about. You can easily intercept a signal to a child window via std.signals, in Qt this would be installing an event filter of some sort. So sink/bubble seems unnecessary. The

Re: Haxe (From: Java Scala - new thread: GUI for D)

2011-12-06 Thread Adrian
Am 05.12.2011 18:56, schrieb Nick Sabalausky: In that project, Haxe's ability to compile the same code, in the same language, down to both server-side (PHP) and client-side (Flash8) has been an *enormous* benefit. Just that one ability alone, even without the fact that Haxe beats the snot

Re: Java Scala

2011-12-06 Thread Andrej Mitrovic
On 12/6/11, Adam Wilson flybo...@gmail.com wrote: No worries, had to ask. Thanks for the link though, it looks promising. :-) Listen, if you ever need help I'm in #d, nickname drey_. I think we talked before. It's never a bad idea to exchange ideas, so I'll be there.

Re: Haxe (From: Java Scala - new thread: GUI for D)

2011-12-06 Thread Nick Sabalausky
Adrian adrian.remove-nos...@veith-system.de wrote in message news:jbkkpf$cut$1...@digitalmars.com... Am 05.12.2011 18:56, schrieb Nick Sabalausky: In that project, Haxe's ability to compile the same code, in the same language, down to both server-side (PHP) and client-side (Flash8) has been

Re: Haxe (From: Java Scala - new thread: GUI for D)

2011-12-06 Thread Nick Sabalausky
Nick Sabalausky a@a.a wrote in message news:jblhn8$1vis$1...@digitalmars.com... Adrian adrian.remove-nos...@veith-system.de wrote in message news:jbkkpf$cut$1...@digitalmars.com... Am 05.12.2011 18:56, schrieb Nick Sabalausky: Why did I write the whole thing from scratch in D as a separate

Re: Java Scala

2011-12-06 Thread Adam Wilson
On Tue, 06 Dec 2011 01:31:45 -0800, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: On 12/6/11, Adam Wilson flybo...@gmail.com wrote: No worries, had to ask. Thanks for the link though, it looks promising. :-) Listen, if you ever need help I'm in #d, nickname drey_. I think we talked

Re: Java Scala

2011-12-06 Thread Adam Wilson
On Tue, 06 Dec 2011 00:48:44 -0800, Andrej Mitrovic andrej.mitrov...@gmail.com wrote: On 12/6/11, Jacob Carlborg d...@me.com wrote: Doesn't sound very effective. I don't know what that bubbling is all about. You can easily intercept a signal to a child window via std.signals, in Qt this

Re: Java Scala

2011-12-06 Thread Andrej Mitrovic
On 12/6/11, Adam Wilson flybo...@gmail.com wrote: My goal for the project is what you would term non-native in that it does not make use of the OS widgets; however the plan is to provide native looking skins for the widgets. That's what the theming API is for on Windows. OSX might have

Re: javascript (was Re: Java Scala - new thread: GUI for D)

2011-12-05 Thread Jacob Carlborg
On 2011-12-05 07:59, Nick Sabalausky wrote: Jacob Carlborgd...@me.com wrote in message news:jbglgs$2no2$1...@digitalmars.com... I think CoffeeScript works really well, it's been around a while and it's the default way to handle JavaScript in Rails 3.1 and later versions (SASS is the default

Re: javascript (was Re: Java Scala - new thread: GUI for D)

2011-12-05 Thread bearophile
Jacob Carlborg: I think they're good languages, regardless of the indent-syntax or not. CoffeeScript and Ruby share a couple of language features that I'm not sure if Python does: * Instance variables start with @ (shortcut for this. in CS) * Functions can be called without parentheses

Re: Java Scala

2011-12-05 Thread Johannes Pfau
Andrej Mitrovic wrote: On 12/3/11, Jonathan M Davis jmdavisp...@gmx.com wrote: If you have a considerably better proposal for std.signals Johannes Pfau made an updated one, not me. And I'd rather use it for a while and hack in new features when necessary and debug it properly than shove it into

Re: Java Scala - new thread: GUI for D

2011-12-05 Thread Jacob Carlborg
On 2011-12-05 08:17, Adrian wrote: Yes it is - but did you ever tried haXe ? IMO it is the best cross platform language around - you target JavaScript, Flash, PHP, NEKO, C++ and soon Java and C# with one language. Typesafe with type inference, compiled and code completion support from the

Re: Java Scala - new thread: GUI for D

2011-12-05 Thread Somedude
Le 03/12/2011 07:54, Gour a écrit : Just, curious what would be your choise for multi-platform GU app: gtk, qt or wx? Sincerely, Gour 1) By far wxWidgets because it's native and stable 2) FLTK because it's small, fast and supports OpenGL, allowing for custom interfaces. It's also

Re: Java Scala

2011-12-05 Thread Jonathan M Davis
On Monday, December 05, 2011 09:13:57 Johannes Pfau wrote: Andrej Mitrovic wrote: On 12/3/11, Jonathan M Davis jmdavisp...@gmx.com wrote: If you have a considerably better proposal for std.signals Johannes Pfau made an updated one, not me. And I'd rather use it for a while and hack in new

Re: javascript (was Re: Java Scala - new thread: GUI for D)

2011-12-05 Thread Marco Leise
Am 04.12.2011, 21:17 Uhr, schrieb Adam D. Ruppe destructiona...@gmail.com: Jacob Carlborg Wrote: If you like the idea there, but want something a lot more conservative, in my html.d (in here: https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff ) there's now

  1   2   3   4   5   >