Alexander Lazarević uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-laza.421.mcz
==================== Summary ====================
Name: System-laza.421
Author: laza
Time: 11 February 2011, 2:56:13.344 am
UUID: ca2df94e-ce04-6744-b937-2f85daac4505
Ancestors: System-laza.420
Change the comment for 1201 according to this posting
http://lists.gforge.inria.fr/pipermail/pharo-project/2010-November/036141.h…
=============== Diff against System-laza.420 ===============
Item was changed:
----- Method: SmalltalkImage>>getSystemAttribute: (in category 'private') -----
getSystemAttribute: attributeID
"Optional. Answer the string for the system attribute with the given
integer ID. Answer nil if the given attribute is not defined on this
platform. On platforms that support invoking programs from command
lines (e.g., Unix), this mechanism can be used to pass command line
arguments to programs written in Squeak.
By convention, the first command line argument that is not a VM
configuration option is considered a 'document' to be filed in. Such a
document can add methods and classes, can contain a serialized object,
can include code to be executed, or any combination of these.
Currently defined attributes include:
-1000 1000th command line argument that specify VM options
...
-1 first command line argument that specify VM options
0 the full path name for currently executing VM
(or, on some platforms, just the path name of the VM's directory)
1 full path name of this image (better use primImageName instead)
2 a Squeak document to open, if any
3 first command line argument for Squeak programs
...
1000 1000th command line argument for Squeak programs
1001 this platform's operating system 'Mac OS', 'Win32', 'unix', ...
1002 operating system version
1003 this platform's processor type
1004 vm version
1005 window system name
1006 vm build id
1007 Interpreter class (Cog VM only)
1008 Cogit class (Cog VM only)
+ 1201 max filename length (Mac OS only)
- 1201 always returns 255 (Mac OS only)
1202 file last error (Mac OS only)
10001 hardware details (Win32 only)
10002 operating system details (Win32 only)
10003 graphics hardware details (Win32 only)
"
<primitive: 149>
^ nil!
Levente Uzonyi uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ul.423.mcz
==================== Summary ====================
Name: Collections-ul.423
Author: ul
Time: 7 February 2011, 8:55:57.134 pm
UUID: e18716fc-a36b-874c-8946-5c21b447a96f
Ancestors: Collections-ul.422
- use the primitive for FloatArray >> #dot: (~50x faster).
=============== Diff against Collections-ul.422 ===============
Item was changed:
----- Method: FloatArray>>dot: (in category 'arithmetic') -----
dot: aFloatVector
"Primitive. Return the dot product of the receiver and the argument.
Fail if the argument is not of the same size as the receiver."
+
| result |
+ <primitive: 'primitiveDotProduct' module: 'FloatArrayPlugin'>
- "<primitive:'primitiveFloatArrayDotProduct'>"
self size = aFloatVector size ifFalse:[^self error:'Must be equal size'].
result := 0.0.
1 to: self size do:[:i|
result := result + ((self at: i) * (aFloatVector at: i)).
].
^result!
I accidentally committed update-mtf.24.mcm to
http://squeaksource.com/TweakCore . I meant to commit it to the
cobalt repository; it's not a tweak mcm at all. I don't see any
way to remove it; SqueakSource doesn't show it in the web tools.
Is there any way to delete it? It breaks both the tweak and
cobalt install scripts by being there
--
Matthew Fulmer (a.k.a. Tapple)
Hi folks!
Since we are on the verge of 4.2, and we have a brand new Cog VM to play
with I felt like dusting off my old Pystone port to Squeak - Sqystone,
which I wrote back in 2004.
At that time Squeak was around 5 times faster than CPython. How do we
stack up today? Yeah, I know - hardly a good benchmark, they all lie etc
etc. :)
I am using Ubuntu 10.10 on a corei7, so this is running on a 64 bit CPU.
Cog!
====
Squeak 4.2-10966 (soon to be released) + latest Cog r2361 (binary download):
Pystone(1.1) time for 50000 passes = 0.06
This machine benchmarks at 833333.3 pystones/second
NOTE: AFAICT running with more passes does not improve it. Also, not
sure if I could get more out of this if I built from source on my box.
Regular Squeak
==============
Squeak 4.2-10966 (soon to be released) + regular Squeak VM 4.4.7-2357
(built from src):
Pystone(1.1) time for 50000 passes = 0.503
This machine benchmarks at 99403.6 pystones/second
Regular CPython
===============
CPython 3.1.2 (newest in Ubuntu Meerkat, minimal):
gokr@quigon:/usr/lib/python3.1/test$ python3.1 pystone.py
Pystone(1.1) time for 50000 passes = 0.57
This machine benchmarks at 87719.3 pystones/second
NOTE: 3.2 is reportedly a teeny bit faster. Also not built from source.
Pypy 1.4
========
wget http://pypy.org/download/pypy-1.4.1-linux64.tar.bz2
gokr@quigon:~/python/pypy-1.4.1-linux64$ ./bin/pypy
./lib-python/2.5.2/test/pystone.py
Pystone(1.1) time for 50000 passes = 0.15
This machine benchmarks at 333333 pystones/second
gokr@quigon:~/python/pypy-1.4.1-linux64$ ./bin/pypy
./lib-python/2.5.2/test/pystone.py 5000000
Pystone(1.1) time for 5000000 passes = 4.8
This machine benchmarks at 1.04167e+06 pystones/second
NOTE: Also not built from source. Here we run pystone a second time with
100x more loops and get a substantially better number.
Shedskin 0.7
============
sudo apt-get install g++ libpcre3-dev libgc-dev python-dev
sudo dpkg -i shedskin_0.7_all.deb
wget http://shedskin.googlecode.com/files/shedskin-examples-0.7.tgz
shedskin pystone.py
gokr@quigon:~/python/shedskin-examples-0.7$ make
g++ -O2 -march=native -fomit-frame-pointer -Wno-deprecated -I.
-I/usr/share/shedskin/lib /usr/share/shedskin/lib/builtin.cpp
pystone.cpp /usr/share/shedskin/lib/time.cpp
/usr/share/shedskin/lib/re.cpp -lgc -lpcre -o pystone
gokr@quigon:~/python/gokr@quigon:~/python/shedskin-examples-0.7$ ls -la
pystone*
-rwxr-xr-x 1 gokr gokr 297329 2011-02-07 23:01 pystone
-rw-r--r-- 1 gokr gokr 9193 2011-02-07 23:00 pystone.cpp
-rw-r--r-- 1 gokr gokr 1893 2011-02-07 23:00 pystone.hpp
-rw-r--r-- 1 gokr gokr 5774 2010-12-11 11:40 pystone.py
gokr@quigon:~/python/shedskin-examples-0.7$ ./pystone
This machine benchmarks at 2500000.000000 pystones/second
NOTE: I am wondering a bit about this. It tells the same whatever loops
I give it... But ok, perhaps it is all fine.
Summary
=======
- The regular Squeak VM has not been overrun by CPython in these 6 years
time. When I wrote Sqystone Squeak was 5x faster IIRC (can't find the
post anymore). Now they are equal more or less, Squeak still a teeny bit
faster.
- Cog is brutally fast on this one. Compared to CPython and regular
Squeak almost 10x faster.
- Pypy is about 20% faster than Cog if given enough time to actually
start jitting. Cool for the Pypy project! And cool that they aren't that
much faster than Cog. :)
- Shedskin is the "state of the art" of statically compiling Python via
C++ using type inferencing etc etc - so I hear. It is said to be faster
than Cython and Psyco. It ends up beating Cog, but "only" by a factor of
3x. I say "only" because that seems pretty good to me given that Cog is
a JIT and still pretty young and that Shedskin can only run a subset of
Python.
regards, Göran
------------------------------------------------------------------------------------------------------------------------
IWST @ ESUG 2011
International Workshop on Smalltalk Technologies
August 23th, 2011
Edinburgh, Scotland
http://www.esug.org/Conferences/2011/International-Workshop-on-Smalltalk-Te…
CALL FOR PAPERS
SUBMISSION DEADLINE : June 17, 2011
------------------------------------------------------------------------------------------------------------------------
ESUG 2011 Smalltalk joint event
IMPORTANT DATES
* Submission deadline: June 17, 2011
* Notification deadline: July 15, 2011
GOALS AND SCOPE
We are proud to invite submisssions to the International Workshop on
Smalltalk Technologies which is held as part of the ESUG 2011 joint
event at Edinburgh. The goals of the workshop is to create a forum
around advances or experience in Smalltalk and to trigger discussions
and exchanges of ideas. Participants are invited to submit short and
not-so short research articles. We will not enforce any length restriction.
However we expect papers of two kinds:
* Short position papers describing emerging ideas.
* Long research papers with deeper description of experiments and of
research results.
TOPICS
We welcome contributions on all aspects, theoretical as well as
practical, of Smalltalk related topics such as:
* Aspect-oriented programming,
* Meta-programming and Meta-modeling,
* Frameworks,
* Interaction with other languages,
* Implementation, new dialects or languages implemented in Smalltalk,
* Tools,
* Design patterns,
* Experience reports
PUBLICATION
Pending ACM approval for Digital Library.
Both submissions and final papers must be prepared using the ACM SIGPLAN
10 point format. Templates for Word and LaTeX are available at
http://www.acm.org/sigs/sigplan/authorInformation.htm; this site also
contains links to useful informations on how to write effective
submissions.
PROGRAM CHAIRS:
* Loïc Lagadec (Labsticc, University of Brest, France)
* Alain Plantec (Lisyc, University of Brest, France)
PROGRAM COMMITTEE:
* Gabriela Arevalo
* Marcus Denker
* Johan Fabry
* Lukas Renggli
* Hernan Wilkinson
* Damien Cassou
* Alexandre Bergel
* Jordi Delgado
* Johan Brichau
Hi guys
just a note to mention that the registration will be closed by 22 for internal administrative reasons.
So pay attention. If you have a problem lets me know.
Stef
On Jan 12, 2011, at 10:02 AM, stephane ducasse wrote:
> I forgot to say that ESUG will sponsor this event and can hel you financially.
> Please address your request to me.
>
> Stef
>
> On Jan 12, 2011, at 10:01 AM, Stéphane Ducasse wrote:
>
>> The registration for the school: deep on Smalltalk organized at INRIA Lille Nord Europe is now open.
>> http://www.inria.fr/centre-de-recherche-inria/lille-nord-europe/agenda/smal…
>>
>> Please register as soon as possible so that we can build some estimates.
>> Please register even if you are local or close.
>>
>> ==== SCHOOL
>>
>> The objective of this school is to present on advanced Smalltalk topics such as compiler compiler, virtual machine, interaction with C, advanced UI, ...
>> The school is structured around two main lectures on Virtual machines and a hand on sessions.
>> • Igor Stasenko RMOD Lille France
>> • Dr. Noury Bouraqadi
>> • Henrik Johansen Norway
>> • Jorge Ressia SCG Bern Switzerland
>> • Marcus Denker RMOD Lille France
>> • Prof. Theo D'Hondt VUB Belgium
>> • Dr. Tudor Girba Switzerland
>> • Dr. Eliot Miranda US
>>
>> • Date : du 7 mars 2011 au 11 mars 2011
>> • Lieu : Centre de recherche INRIA Lille Nord Europe
>>
>> ***There will be certainly a Pharo Sprint the saturday 15 of March. You are welcomed ***
>>
>> http://www.inria.fr/centre-de-recherche-inria/lille-nord-europe/agenda/smal…
>>
>> HOTEL
>> ====
>> I'm negotiating with some hotels to provide fast a list.
>> Now the first hotel that is cheap and good and that agreed to get better rooms
>> for the same price is Hotel Agora
>> 14 r Molinel 59000 LILLE
>> Mail : agorahotel(a)yahoo.fr.
>> 03 20 31 55 52
>> fax :.03 20 06 27 54
>> You should mention that you are coming to INRIA to get reduction.
>>
>> Stef
>