[Cuis-dev] Porting from Pharo

Juan Vuletich juan at jvuletich.org
Sat May 1 15:55:38 PDT 2021


On 5/1/2021 3:47 PM, Gerald Klix via Cuis-dev wrote:
> Hi all,
>
> is there an easy way to port source code from
> Pharo to Cuis?
>
> I am aware of the tedious way:
>
> - File the package into a Pharo image
> - File out the Categories involved
> - Implement whatever it takes to
>   achieve compatibility.
>
>
> Thanks and Best Regards,
>
> Gerald

Beware of any automatic compatibility tool. Pharo and Cuis are 
incompatible at many places, and a good old human review of the code is 
advised. Besides, bringing code from Pharo most likely means a fork of 
that code (because of those incompatibilities), and a separate future 
evolution. So, it is good to understand that code and appropriate it.

Unless the code uses only compatible APIs from the system, something 
that could be useful to investigate, especially if guarantees can be 
given. Then, the package would be cross dialect, and forking won't be 
needed.

Just thinking aloud.

Cheers,

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich



More information about the Cuis-dev mailing list