Re: [pypy-dev] OS/X

2014-04-16 Thread Armin Rigo
Hi, On 15 April 2014 19:21, Kenny Lasse Hoff Levinsen wrote: > I only set CC=gcc-4.9 - no changes required, which is good! Thank you! Armin ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] OS/X

2014-04-15 Thread Kenny Lasse Hoff Levinsen
Hi Armin, I just built on Mac OS 10.9 using gcc-4.9 from Homebrew. Other than a bit of fooling around (Apparently, setting DEFAULT_CC in darwin.py is a bad idea. Things fall apart.), it translated the nop example just fine. It’s also in the process of translating pypy, just for kicks. I’m trans

Re: [pypy-dev] OS/X

2014-04-15 Thread Armin Rigo
Hi Kenny, On 15 April 2014 15:22, Kenny Lasse Hoff Levinsen wrote: > The issue is mainly that the bundled GCC is very old (the last GPLv2, IIRC), > but I can install a new GCC and try to translate later tonight, unless > someone else beats me to it. Yes, that's what I meant (sorry if I was not

Re: [pypy-dev] OS/X

2014-04-15 Thread Kenny Lasse Hoff Levinsen
The issue is mainly that the bundled GCC is very old (the last GPLv2, IIRC), but I can install a new GCC and try to translate later tonight, unless someone else beats me to it. Kenny / joushou > On 15/04/2014, at 12.55, Armin Rigo wrote: > > Hi OS/X'ers, > > I see in rpython/translator/platf

[pypy-dev] OS/X

2014-04-15 Thread Armin Rigo
Hi OS/X'ers, I see in rpython/translator/platform/darwin.py that we use only "clang" as the compiler on OS/X. There was some discussion in #pypy, as well as a proposal from Andrew Dalke to upgrade the gcc on the OS/X buildbot, which go along the lines of "clang is not necessarily always better th

Re: [pypy-dev] OS

2011-12-11 Thread Da_Blitz
On Mon, Dec 12, 2011 at 09:11:02AM +1100, William ML Leslie wrote: > Well, you don't spend much time writing a kernel anyway - use an > existing kernel and then run python in userspace. It's pretty unusual > to need your code colocated with the kernel, but it would be easier to > do with a runtime

Re: [pypy-dev] OS

2011-12-11 Thread William ML Leslie
On 11/12/2011, Rinu Boney wrote: > which are the languages suited for it other than c/c++ ? Of the safe languages that I know have been used for operating systems, there have been C# (Singularity, Windows 8?), Java (JNode), and Haskell (fillet-o-fish); but there are languages that are perhaps bet

Re: [pypy-dev] OS

2011-12-11 Thread Laura Creighton
I worked on the Tunis OS at the University of Toronto, which was an OS written in Concurrent Euclid. I think -- especially if Software Transactional Memory works out, there will be interest in writing an OS, not in RPython, but in Python. So then, well, maybe you will want a JIT ... I think we

Re: [pypy-dev] OS

2011-12-11 Thread Armin Rigo
Hi Maciej, On Sun, Dec 11, 2011 at 16:04, Maciej Fijalkowski wrote: > There was an experimental operating system written in C# (singularity > I think), so it really does depend on what you're after. I know; there are experimental OSes in various languages, including also high-level languages dev

Re: [pypy-dev] OS

2011-12-11 Thread Maciej Fijalkowski
On Sun, Dec 11, 2011 at 12:50 PM, Armin Rigo wrote: > Hi Fijal, > > On Sun, Dec 11, 2011 at 10:59, Maciej Fijalkowski wrote: >> William - what languages are better suited C? > > I agree with William's point of view.  Yes, I would imagine that C is > a good and well-supported language to do this k

Re: [pypy-dev] OS

2011-12-11 Thread Armin Rigo
Hi Fijal, On Sun, Dec 11, 2011 at 10:59, Maciej Fijalkowski wrote: > William - what languages are better suited C? I agree with William's point of view. Yes, I would imagine that C is a good and well-supported language to do this kind of things. If your goals include "I don't really want a gar

Re: [pypy-dev] OS

2011-12-11 Thread Maciej Fijalkowski
On Sun, Dec 11, 2011 at 8:34 AM, William ML Leslie wrote: > With a little work it would be possible to target ring0 with rpython, but > the real question is why you would want to. There are many other languages > better suited to the task. > > On 11/12/2011 1:01 PM, "Rinu Boney" wrote: > > can RP

Re: [pypy-dev] OS

2011-12-10 Thread William ML Leslie
With a little work it would be possible to target ring0 with rpython, but the real question is why you would want to. There are many other languages better suited to the task. On 11/12/2011 1:01 PM, "Rinu Boney" wrote: can RPython be converted to low level code as to create something like a kern

[pypy-dev] OS

2011-12-10 Thread Rinu Boney
can RPython be converted to low level code as to create something like a kernel or something low level as that ? what about an OS with assembly lang , little C/C++ and RPython ? can an OS like android be developed using RPython ? ( by RPython i also mean using the PyPy tool chain )