[squeak-dev] Squeak and the iPhone

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
31 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Squeak and the iPhone

johnmci
I'm pleased to say that I'm one of the 1.5% of the iPhone developer  
population that has been
accepted to officially build applications for distribution via Apple's  
iPhone Application Store.

Because of this I have embarked on a 93 work day journey to build a  
new fully documented Objective C based source
tree to host the Squeak VM on the iPhone and as a 64bit VM on OS-X.

Likely this *might* take longer and it *hinges* on the ability to get  
funding from various sources for the effort.
So funding offers are welcome.

Not only is there VM support work involved, one needs to adapt to the  
multi-touch paradigm and become
much less keyboard input orientated, plus use platform widgets for  
selection input.

Helpfully the folks from Impara have agreed to take on some of that  
effort, and I'm sure they could use some funding to speed that process.

People who are interested in offering Squeak based applications either  
via the free store, or
selling via the paid store are welcome to contact me, likely I will  
provide for a fee a support agreement
for the base iPhone VM and arrange sell-thru opportunities for paid  
applications.

Sadly because of Apple's legal obligations not all application types  
and general Squeak functionality
is acceptable to Apple for sale thru the store, or even offered via  
the free store. The list of "tho shall not do" is quite lengthy.
Still I think there is an opportunity to deliver interesting Squeak  
based applications on the iPhone and iPod Touch.

After 15 days of work just to cross check feasibility I can offer up  
the attached image of  Squeak  3.4 running on an iPod Touch, I could
have picked a 3.10 image, but the 3.4 screen below is more visually  
exciting.

At  the current 20 days of work I have screen orientation working  
(mostly), drawing, basic touching to mouse event translation,
suffered thru 3 beta versions of the SDK, and posted a few interesting  
bug reports with Apple, and yes likely behind in my estimated timetable.

Still as the other developers here at WWDC 08 (yes I am in SF at the  
moment) have noted getting something up
and running is fast, it's just the other painful 10%...

For the curious the VM that I have built & somewhat tuned does about  
21,548,821 bytecode/sec; and 564,465 sends/sec

Digging in the history books this is equivalent to a 233Mhz 603e  
powerbook. If you are excited about running
your Squeak app on the iPhone, think hard about the meaning of these  
numbers... Also consider that 64MB of memory
use is pushing the Apple's imposed safety limits right to the max.

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================




Default.png (70K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Göran Krampe
Hi folks!

> Because of this I have embarked on a 93 work day journey to build a
> new fully documented Objective C based source
> tree to host the Squeak VM on the iPhone and as a 64bit VM on OS-X.

Cool news indeed! So... apart from the obvious fruit from this effort can
we thus also expect the following:

- Multitouch Squeak level support of some kind?

- Even better 64 bit support on the VM level? Admitting that I am unaware
of the current 64-bit status, but it has been a bit lacking previously at
least - although David has put in remarkable efforts to improve it.

- Mmmmm, well, can't think of much else. :)

Anyway, cool news!

regards, Göran


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Gary Fisher-3
In reply to this post by johnmci
>> "... this is equivalent to a 233Mhz 603e powerbook.

Wasn't that Alan's "Dynabook du Jour" once upon a time?  In any case, Squeak
on the iPhone sounds exciting.

Gary


--------------------------------------------------
From: "John M McIntosh" <[hidden email]>
Sent: Wednesday, June 11, 2008 3:26 AM
To: "The general-purpose Squeak developers list"
<[hidden email]>
Subject: [squeak-dev] Squeak and the iPhone

> I'm pleased to say that I'm one of the 1.5% of the iPhone developer
> population that has been
> accepted to officially build applications for distribution via Apple's
> iPhone Application Store.
>
> Because of this I have embarked on a 93 work day journey to build a
> new fully documented Objective C based source
> tree to host the Squeak VM on the iPhone and as a 64bit VM on OS-X.
>
> Likely this *might* take longer and it *hinges* on the ability to get
> funding from various sources for the effort.
> So funding offers are welcome.
>
> Not only is there VM support work involved, one needs to adapt to the
> multi-touch paradigm and become
> much less keyboard input orientated, plus use platform widgets for
> selection input.
>
> Helpfully the folks from Impara have agreed to take on some of that
> effort, and I'm sure they could use some funding to speed that process.
>
> People who are interested in offering Squeak based applications either
> via the free store, or
> selling via the paid store are welcome to contact me, likely I will
> provide for a fee a support agreement
> for the base iPhone VM and arrange sell-thru opportunities for paid
> applications.
>
> Sadly because of Apple's legal obligations not all application types
> and general Squeak functionality
> is acceptable to Apple for sale thru the store, or even offered via
> the free store. The list of "tho shall not do" is quite lengthy.
> Still I think there is an opportunity to deliver interesting Squeak
> based applications on the iPhone and iPod Touch.
>
> After 15 days of work just to cross check feasibility I can offer up
> the attached image of  Squeak  3.4 running on an iPod Touch, I could
> have picked a 3.10 image, but the 3.4 screen below is more visually
> exciting.
>
> At  the current 20 days of work I have screen orientation working
> (mostly), drawing, basic touching to mouse event translation,
> suffered thru 3 beta versions of the SDK, and posted a few interesting
> bug reports with Apple, and yes likely behind in my estimated timetable.
>
> Still as the other developers here at WWDC 08 (yes I am in SF at the
> moment) have noted getting something up
> and running is fast, it's just the other painful 10%...
>
> For the curious the VM that I have built & somewhat tuned does about
> 21,548,821 bytecode/sec; and 564,465 sends/sec
>
> Digging in the history books this is equivalent to a 233Mhz 603e
> powerbook. If you are excited about running
> your Squeak app on the iPhone, think hard about the meaning of these
> numbers... Also consider that 64MB of memory
> use is pushing the Apple's imposed safety limits right to the max.
>
> --
> =
> =
> =
> ========================================================================
> John M. McIntosh <[hidden email]>
> Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
> =
> =
> =
> ========================================================================
>
>



>
>



> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 270.2.0/1493 - Release Date: 6/9/2008
> 5:25 PM
>

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Stephen Pair
In reply to this post by johnmci
On Wed, Jun 11, 2008 at 3:26 AM, John M McIntosh <[hidden email]> wrote:
Because of this I have embarked on a 93 work day journey to build a new fully documented Objective C based source
tree to host the Squeak VM on the iPhone and as a 64bit VM on OS-X.

John,

Does this mean the normal Mac VM will now become ObjC/Cocoa based?  (assuming it isn't already)

- Stephen




Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Randal L. Schwartz
>>>>> "Stephen" == Stephen Pair <[hidden email]> writes:

Stephen> Does this mean the normal Mac VM will now become ObjC/Cocoa based?
Stephen> (assuming it isn't already)

I think it has to be soon anyway, since Carbon is going away in Snow Leopard.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Philippe Marschall
2008/6/11 Randal L. Schwartz <[hidden email]>:
>>>>>> "Stephen" == Stephen Pair <[hidden email]> writes:
>
> Stephen> Does this mean the normal Mac VM will now become ObjC/Cocoa based?
> Stephen> (assuming it isn't already)
>
> I think it has to be soon anyway, since Carbon is going away in Snow Leopard.

Srsly? No more Photoshop and Office for the Mac?

Cheers
Philippe

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Randal L. Schwartz
>>>>> "Philippe" == Philippe Marschall <[hidden email]> writes:

>> I think it has to be soon anyway, since Carbon is going away in Snow Leopard.

Philippe> Srsly? No more Photoshop and Office for the Mac?

Well, who needs Office for the mac, with the maturity of iWork, unless
you just like Burning Money for Fun and Lack of Profit.

But I presume the Adobe boys are already looking at what it'll take to make
the very profitable PS suite work on 10.6.  It's not like this is any
surprise... this has been foreshadowed since 10.1-ish, if I understand
properly.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

johnmci
In reply to this post by Stephen Pair
The Carbon macintosh VM, is now legacy!

The new OS-X Cocoa VM will be a super set of the iPhone VM.

On Jun 11, 2008, at 5:42 AM, Stephen Pair wrote:

> On Wed, Jun 11, 2008 at 3:26 AM, John M McIntosh <[hidden email]
> > wrote:
> Because of this I have embarked on a 93 work day journey to build a  
> new fully documented Objective C based source
> tree to host the Squeak VM on the iPhone and as a 64bit VM on OS-X.
>
> John,
>
> Does this mean the normal Mac VM will now become ObjC/Cocoa based?  
> (assuming it isn't already)
>
> - Stephen
>
>

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

johnmci
In reply to this post by Göran Krampe

On Jun 11, 2008, at 2:35 AM, Göran Krampe wrote:

> Hi folks!
>
>> Because of this I have embarked on a 93 work day journey to build a
>> new fully documented Objective C based source
>> tree to host the Squeak VM on the iPhone and as a 64bit VM on OS-X.
>
> Cool news indeed! So... apart from the obvious fruit from this  
> effort can
> we thus also expect the following:
>
> - Multitouch Squeak level support of some kind?

Impara and I are trying to figure out how to flow up multi-touch events
and adapt the event processing to that.

>
>
> - Even better 64 bit support on the VM level? Admitting that I am  
> unaware
> of the current 64-bit status, but it has been a bit lacking  
> previously at
> least - although David has put in remarkable efforts to improve it.

Well the core support code will be 64bit clean.

Eliot is going to be working on the 64bit VM features from what I  
understand.

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Philippe Marschall
In reply to this post by johnmci
2008/6/11 John M McIntosh <[hidden email]>:

> I'm pleased to say that I'm one of the 1.5% of the iPhone developer
> population that has been
> accepted to officially build applications for distribution via Apple's
> iPhone Application Store.
>
> Because of this I have embarked on a 93 work day journey to build a new
> fully documented Objective C based source
> tree to host the Squeak VM on the iPhone and as a 64bit VM on OS-X.
>
> Likely this *might* take longer and it *hinges* on the ability to get
> funding from various sources for the effort.
> So funding offers are welcome.
>
> Not only is there VM support work involved, one needs to adapt to the
> multi-touch paradigm and become
> much less keyboard input orientated, plus use platform widgets for selection
> input.
>
> Helpfully the folks from Impara have agreed to take on some of that effort,
> and I'm sure they could use some funding to speed that process.
>
> People who are interested in offering Squeak based applications either via
> the free store, or
> selling via the paid store are welcome to contact me, likely I will provide
> for a fee a support agreement
> for the base iPhone VM and arrange sell-thru opportunities for paid
> applications.
>
> Sadly because of Apple's legal obligations not all application types and
> general Squeak functionality
> is acceptable to Apple for sale thru the store, or even offered via the free
> store. The list of "tho shall not do" is quite lengthy.
> Still I think there is an opportunity to deliver interesting Squeak based
> applications on the iPhone and iPod Touch.
>
> After 15 days of work just to cross check feasibility I can offer up the
> attached image of  Squeak  3.4 running on an iPod Touch, I could
> have picked a 3.10 image, but the 3.4 screen below is more visually
> exciting.
>
> At  the current 20 days of work I have screen orientation working (mostly),
> drawing, basic touching to mouse event translation,
> suffered thru 3 beta versions of the SDK, and posted a few interesting bug
> reports with Apple, and yes likely behind in my estimated timetable.
>
> Still as the other developers here at WWDC 08 (yes I am in SF at the moment)
> have noted getting something up
> and running is fast, it's just the other painful 10%...
>
> For the curious the VM that I have built & somewhat tuned does about
> 21,548,821 bytecode/sec; and 564,465 sends/sec
>
> Digging in the history books this is equivalent to a 233Mhz 603e powerbook.
> If you are excited about running
> your Squeak app on the iPhone, think hard about the meaning of these
> numbers... Also consider that 64MB of memory
> use is pushing the Apple's imposed safety limits right to the max.

Have the licensing terms changed and programs that can run other
programs now allowed on the iPhone?

Cheers
Philippe

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

johnmci

On Jun 11, 2008, at 9:05 AM, Philippe Marschall wrote:

>
> Have the licensing terms changed and programs that can run other
> programs now allowed on the iPhone?
>
> Cheers
> Philippe



No the licensing has not changed, which is why:


>>
>> Sadly because of Apple's legal obligations not all application  
>> types and
>> general Squeak functionality
>> is acceptable to Apple for sale thru the store, or even offered via  
>> the free
>> store. The list of "tho shall not do" is quite lengthy.
--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Philippe Marschall
2008/6/11, John M McIntosh <[hidden email]>:

>
>  On Jun 11, 2008, at 9:05 AM, Philippe Marschall wrote:
>
>
> >
> > Have the licensing terms changed and programs that can run other
> > programs now allowed on the iPhone?
> >
> > Cheers
> > Philippe
> >
>
>
>
>  No the licensing has not changed, which is why:

I wonder what this will mean in practice. Will only certain images the
allowed that are reviewed by Apple? Do you have to implement certain
functionality that only "certified" images are allowed? Do you have to
strip the compiler?

Cheers
Philippe

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

stephane ducasse
In reply to this post by johnmci
Hi John

Excellent. I will propose ESUG to support you (as we already discussed).

Stef

On Jun 11, 2008, at 9:26 AM, John M McIntosh wrote:

> I'm pleased to say that I'm one of the 1.5% of the iPhone developer  
> population that has been
> accepted to officially build applications for distribution via  
> Apple's iPhone Application Store.
>
> Because of this I have embarked on a 93 work day journey to build a  
> new fully documented Objective C based source
> tree to host the Squeak VM on the iPhone and as a 64bit VM on OS-X.
>
> Likely this *might* take longer and it *hinges* on the ability to  
> get funding from various sources for the effort.
> So funding offers are welcome.
>
> Not only is there VM support work involved, one needs to adapt to  
> the multi-touch paradigm and become
> much less keyboard input orientated, plus use platform widgets for  
> selection input.
>
> Helpfully the folks from Impara have agreed to take on some of that  
> effort, and I'm sure they could use some funding to speed that  
> process.
>
> People who are interested in offering Squeak based applications  
> either via the free store, or
> selling via the paid store are welcome to contact me, likely I will  
> provide for a fee a support agreement
> for the base iPhone VM and arrange sell-thru opportunities for paid  
> applications.
>
> Sadly because of Apple's legal obligations not all application types  
> and general Squeak functionality
> is acceptable to Apple for sale thru the store, or even offered via  
> the free store. The list of "tho shall not do" is quite lengthy.
> Still I think there is an opportunity to deliver interesting Squeak  
> based applications on the iPhone and iPod Touch.
>
> After 15 days of work just to cross check feasibility I can offer up  
> the attached image of  Squeak  3.4 running on an iPod Touch, I could
> have picked a 3.10 image, but the 3.4 screen below is more visually  
> exciting.
>
> At  the current 20 days of work I have screen orientation working  
> (mostly), drawing, basic touching to mouse event translation,
> suffered thru 3 beta versions of the SDK, and posted a few  
> interesting bug reports with Apple, and yes likely behind in my  
> estimated timetable.
>
> Still as the other developers here at WWDC 08 (yes I am in SF at the  
> moment) have noted getting something up
> and running is fast, it's just the other painful 10%...
>
> For the curious the VM that I have built & somewhat tuned does about  
> 21,548,821 bytecode/sec; and 564,465 sends/sec
>
> Digging in the history books this is equivalent to a 233Mhz 603e  
> powerbook. If you are excited about running
> your Squeak app on the iPhone, think hard about the meaning of these  
> numbers... Also consider that 64MB of memory
> use is pushing the Apple's imposed safety limits right to the max.
>
> --
> =
> =
> =
> =
> =
> ======================================================================
> John M. McIntosh <[hidden email]>
> Corporate Smalltalk Consulting Ltd.  http://
> www.smalltalkconsulting.com
> =
> =
> =
> =
> =
> ======================================================================
>
> <Default.png>


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

johnmci
In reply to this post by Philippe Marschall
Well you have to read the license then decide if you are violating it.

And yes Apple in theory will review submitted applications and deny  
deployment based
on what they do, how they do it, how they are documented etc. etc. How  
that
process works I do not know.

Striping the compiler could be needed, old VisualWorks users can  
remember the
joys of this and why...

On Jun 11, 2008, at 10:02 AM, Philippe Marschall wrote:

>> No the licensing has not changed, which is why:
>
> I wonder what this will mean in practice. Will only certain images the
> allowed that are reviewed by Apple? Do you have to implement certain
> functionality that only "certified" images are allowed? Do you have to
> strip the compiler?
>
> Cheers
> Philippe

--
=
=
=
========================================================================
John M. McIntosh <[hidden email]>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
=
=
=
========================================================================



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Randal L. Schwartz
>>>>> "John" == John M McIntosh <[hidden email]> writes:

John> Striping the compiler could be needed,

Pin stripes?  Oooh, Tiger stripes!

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Marcel Weiher-3
In reply to this post by Stephen Pair

On Jun 11, 2008, at 5:42 , Stephen Pair wrote:

On Wed, Jun 11, 2008 at 3:26 AM, John M McIntosh <[hidden email]> wrote:
Because of this I have embarked on a 93 work day journey to build a new fully documented Objective C based source
tree to host the Squeak VM on the iPhone and as a 64bit VM on OS-X.

John,

Does this mean the normal Mac VM will now become ObjC/Cocoa based?  (assuming it isn't already)

Well, there has been an ObjC/Cocoa based VM for some time, called, unsurprisingly, CocoaSqueak.

Cheers,

Marcel



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Steven W Riggins
In reply to this post by Randal L. Schwartz
 From everything i have heard, Carbon is not going away in Snow  
Leopard.  What is happening is that every API that is still carbon  
only will be moved to Cocoa, paving the way for Carbon to go away.  On  
top of that, everything Apple delivers will be Cocoa.

So it's a big shot across MS's and Adobe's bow.  You'd hope they would  
have moved to cocoa in their recent major revisions, but alas........

Have you heard differently?


On Jun 11, 2008, at 6:18 AM, Randal L. Schwartz wrote:

> I think it has to be soon anyway, since Carbon is going away in Snow  
> Leopard.


Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Merik Voswinkel
In reply to this post by Marcel Weiher-3
Hello Marcel,

On Jun 12, 2008, at 4:07 AM, Marcel Weiher wrote:

On Jun 11, 2008, at 5:42 , Stephen Pair wrote:

On Wed, Jun 11, 2008 at 3:26 AM, John M McIntosh <[hidden email]> wrote:
Because of this I have embarked on a 93 work day journey to build a new fully documented Objective C based source
tree to host the Squeak VM on the iPhone and as a 64bit VM on OS-X.


Well, there has been an ObjC/Cocoa based VM for some time, called, unsurprisingly, CocoaSqueak.

I am looking for the sources online but can't find them anymore.
Can you help me?
With your permission, I will bring CocoaSqueak up to date and extend it with a full cocoa bridge, 64 bit and multicore support.

Let me take opportunity to thank you for all your work on CocoaSqueak, I have been using for years now. Thanks a lot!
Alas, the newer images do not run anymore, so I hope you will allow me to fix that.

As you may have noticed, John McIntosh is not releasing the source code of the Cocoa iPhone VM and will only sell his future version and only if Apple agrees. I was the one funding John's 93 days and Impara, but I have now withdrawn this funding because we only support open source.

If you are interested, I can send you the full iPhone port 'documentation' I wrote for John.


Merik Voswinkel



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Michael Rueger-6
Merik Voswinkel wrote:

> Apple agrees. I was the one funding John's 93 days and Impara, but I
> have now withdrawn this funding because we only support open source.

Which is not correct as the funding (from NLnet) was supposed to support
building an OpenSource iPhone VM. But that really doesn't belong on the
mailing list.

Michael

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] Squeak and the iPhone

Bert Freudenberg

On 17.06.2008, at 17:38, Michael Rueger wrote:

> Merik Voswinkel wrote:
>
>> Apple agrees. I was the one funding John's 93 days and Impara, but  
>> I have now withdrawn this funding because we only support open  
>> source.
>
> Which is not correct as the funding (from NLnet) was supposed to  
> support building an OpenSource iPhone VM. But that really doesn't  
> belong on the mailing list.
>
> Michael

But since it has been mentioned now, rather than having rumors spread  
could you explain what happened?

- Bert -



12