<p dir="ltr">Ok thanks for your answers. I will keep you updated as I make progress </p>
<div class="gmail_quote">El nov 6, 2015 2:37 PM, "Esteban Lorenzano" <<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div>On 06 Nov 2015, at 12:30, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>> wrote:</div><br><div><div dir="auto"><div>Mariano,<br></div><div><br>On Nov 4, 2015, at 5:14 PM, Mariano Martinez Peck <<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><span></span></div></blockquote><blockquote type="cite"><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 4, 2015 at 7:34 PM, Sebastián Krynski <span dir="ltr"><<a href="mailto:skrynski@gmail.com" target="_blank">skrynski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> <br><div dir="ltr">Hello, as I mentioned before I'm starting to implement an atomic operator (a swap between two variables).<div>I have compiled the StackVM (at least to get started) in Ubuntu 32bits.</div></div></blockquote><div><br></div><div>Great!!!</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>A few questions:</div><div><br></div><div>- Should I be working on <span style="font-size:12.8px">generation.image while doing the implementation? If so, should I be running the simulated VM running another image while doing my tests?</span></div></div></blockquote><div><br></div><div>As far as I know having a working simulator working requires quite some effort. At least, with a Pharo image. A couple of months ago (maybe a couple of years) there was another Argentinian which finally made the simulator to work with Pharo 2.0. You may want to get in touch with <span name="Nicolás Papagna Maldonado" style="font-size:12.8px">Nicolás Papagna Maldonado</span><span style="font-size:12.8px;white-space:nowrap"> </span></div><div><br></div><div>For the developments I did I always used the "generation.image" and then use the VM I built. I never used the simulator for real.</div></div></div></div></div></blockquote><div><br></div>Clément, Esteban and I use, and I maintain, the Cog simulator. How do you think the VM is developed in the first place? It is easy to derive a squeak image containing the full simulator, and a little effort on fixing the transcript yields a working Pharo simulator image. The scripts in the svn tree in the image directory build a full simulation image. Scripts can and should be added there to build a Pharo simulator image.<div><br></div><div>Please refrain from suggesting that the simulator is forked. Sebastián, please talk with Clément and Esteban regarding simulation in Pharo.</div></div></div></blockquote><div><br></div><div>Simulator work in Pharo 4 and 5… I tested it in 5 not long ago. I made it work, however, in current spur branch (not in the master branch)… I suppose in Pharo 3 (master is still running in Pharo3, for a couple of months now) can also work without much work. </div><div>In Pharo 2 this was *not* working, for sure… but this is ancient history, no new developments should be using it :)</div><div><br></div><div>Now, I can assure you this is not a fork, is the same VMMaker package used to generate all favours of the VM :)</div><div><br></div><div>cheers,</div><div>Esteban</div><br><blockquote type="cite"><div><div dir="auto"><div><br></div><div>Mariano, you were hobbling yourself not using the simulator.<br><div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span style="font-size:12.8px">- Do you think it is possible to implement the operations in Slang or using </span><span style="font-size:12.8px">#cCode:inSmalltalk:? Otherwise I will need to do it in assembler and inline it</span></div><div><span style="font-size:12.8px"><br></span></div></div></blockquote><div><br></div><div>Well...it depends on what you need to write exactly. Slang is quite limited since it must be automagically translated to C. So you must be careful in the "smalltalk" code you write with SLANG. To know more or less what you are able to write in SLANG you could take a look to #initializeCTranslationDictionary (at least this was some years ago). </div><div><br></div><div>BTW, you may want to read this: <a href="https://marianopeck.wordpress.com/tag/slang/" target="_blank">https://marianopeck.wordpress.com/tag/slang/</a></div></div></div></div></div></blockquote><div><br></div>No, no, no, no :). This level of Slang addresses the mapping of Smalltalk control structures and integer types to C <span style="background-color:rgba(255,255,255,0)">control structures and integer types. It should *not* be used to add api calls.</span></div><div><br></div><div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div>Cheers,</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span style="font-size:12.8px"></span></div><div><span style="font-size:12.8px">Thanks</span></div><div><span style="font-size:12.8px">Sebastián</span></div></div>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Mariano<br><a href="http://marianopeck.wordpress.com/" target="_blank">http://marianopeck.wordpress.com</a><br></div>
</div></div>
</div></blockquote></div></div></div></div></blockquote></div><br></div><br></blockquote></div>