Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fniephaus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
fniephaus
6y ago
Thanks! > I vaguely recall some mention in one of the docs I read a while back that you were having difficulties with the JIT causing noticable pauses/latency in interactive environments like Morphic, comparison to the OpenSmalltalk
92.
▲
by
fniephaus
6y ago
It does work with Cuis, but not with Pharo. The reason for this is that TruffleSqueak makes some assumptions about the layout of certain objects (e.g. instances of Class). Those assumptions no longer hold on Pharo, as it derived from the sp
93.
▲
by
fniephaus
6y ago
Yes, you can load recent, 64-bit, stock Squeak or Cuis images. Pharo is not (yet) supported. The user interface should be identical. For the polyglot API to work, some additional image-side code [1] needs to be loaded in your image. [1] ht
94.
▲
by
fniephaus
6y ago
You can use TruffleSqueak for all languages supported by the GraalVM. Check out the demo videos at https://github.com/hpi-swa/trufflesqueak#demos .
95.
▲
by
fniephaus
6y ago
Correct. We had to change the project name. Sorry for the confusion!
96.
▲
by
fniephaus
6y ago
Correct, this indicates that recompilation occurred. The first time Graal compiled some of the UI machinery, which is all written in Smalltalk, no input events were triggered in the IDE. Consequently, the partial evaluator removed those cod
97.
▲
by
fniephaus
6y ago
The Graal compiler is known to be slow in terms of warmup. At the same time, it provides great peak-performance. However, and as you can see in the video, partial evaluation will trigger recompilation if the program is not "stable"
98.
▲
by
fniephaus
6y ago
> What is the main difference between this and other Smalltalk implementations besides the underlying GraalVM? The implementation tries to be as compatible as possible. Apart from that, it's implemented using a language implementati
99.
▲
by
fniephaus
6y ago
thank you, kipply!
100.
▲
by
fniephaus
6y ago
Thanks! > I'd love to just hear more about your experience building this on top of Graal/Truffle. There are lots of good resources for learning how to implement a language in Truffle. In addition to the official documentation a
101.
▲
by
fniephaus
6y ago
Author here. Happy to answer any questions!
102.
▲
TruffleSqueak: Polyglot Programming with Squeak/Smalltalk and GraalVM
(github.com)
105 points
by
fniephaus
6y ago
|
42 comments
103.
▲
BespokeSynth: Software Modular Synth
(github.com)
33 points
by
fniephaus
6y ago
|
6 comments
104.
▲
Store and Sync Passwords with Dropbox Passwords
(dropbox.com)
23 points
by
fniephaus
6y ago
|
17 comments
105.
▲
by
fniephaus
6y ago
> Can someone please give a sober explanation of what GraalVM, is and how Truffle works? GraalVM is basically a JVM with a new compiler, the Graal compiler. Truffle is the language implementation framework for GraalVM and designed to bui
106.
▲
by
fniephaus
6y ago
Currently, you'd use the polyglot package that ships with the GraalVM SDK: https://www.graalvm.org/sdk/javadoc/org/graalvm/polyglot/Con... Here are a couple of demos: https://github.
107.
▲
by
fniephaus
6y ago
If you're looking for an IDE for polyglot programming, GraalVM provides an extension for VSCode: https://www.graalvm.org/docs/tools/vscode and supports the LSP: https://www.graalvm.org/docs&#x
108.
▲
Home Network Overview
(shipilev.net)
3 points
by
fniephaus
6y ago
|
0 comments
109.
▲
Squeak News E-Zine
(github.com)
3 points
by
fniephaus
6y ago
|
0 comments
110.
▲
HOPL20: The Evolution of Smalltalk - From Smalltalk-72 through Squeak
(dl.acm.org)
6 points
by
fniephaus
6y ago
|
0 comments
111.
▲
Understanding Basic Graal Graphs
(chrisseaton.com)
3 points
by
fniephaus
6y ago
|
0 comments
112.
▲
Alternative Sources of Advice
(tratt.net)
42 points
by
fniephaus
6y ago
|
3 comments
113.
▲
Java Objects Inside Out
(shipilev.net)
3 points
by
fniephaus
6y ago
|
0 comments
114.
▲
Smalltalk-87
(wirfs-brock.com)
115 points
by
fniephaus
7y ago
|
17 comments
115.
▲
GitHub Satellite to be a virtual event due to COVID-19
(githubsatellite.com)
2 points
by
fniephaus
7y ago
|
0 comments
116.
▲
Announcing the GraalVM Project Advisory Board
(medium.com)
2 points
by
fniephaus
7y ago
|
0 comments
117.
▲
by
fniephaus
7y ago
You can do this with GraalVM. Here's an example: https://github.com/graalvm/graalvm-demos/tree/master/polyglo... And here's a polyglot notebook example: https://fniephaus.com/20
118.
▲
by
fniephaus
7y ago
We compared the runtime performance of GraalSqueak with OpenSmalltalkVM (formerly Cog) and RSqueak (RPython-based VM) in Figure 4 of our MPLR’19 paper [1] for the first time. Since then, we've worked on a couple of performance optimiza
119.
▲
by
fniephaus
7y ago
Thanks! RE your question: Squeak's scheduler (also written in Smalltalk) would need to be extended with support for multi-threading. Since that requires a significant amount of work, it's probably out of the scope of the project a
120.
▲
by
fniephaus
7y ago
Happy to hear that! If you'd like to see some Smalltalk tools rendered in Java Swing, check out this demo [1]. More details on this are in the blog post on our Polyglot Programming seminar [2]. [1] https://www.youtube.com&#x
More ›