RE: suggested persistence approach for new app

"Richard Sargent" <[email protected]> Fri, 7 Apr 2023 14:06:19 -0700
Newsgroups gmane.comp.lang.smalltalk.vwnc
Organization 5x5 Computing Solutions, Inc.
Message-ID <[email protected]>
See answers below.

 

From: Charles Monteiro <[email protected]> 
Sent: April 7, 2023 09:50
To: Richard Sargent <[email protected]>
Cc: giorgio ferraris <[email protected]>; [email protected]
Subject: Re: [vwnc] suggested persistence approach for new app

 

well, I'm just brainstorming, for some reason , I thought there was an issue with installing the free versions of Gemstone straight up on Windows.

For development, I"m looking into upgrading my 2015 MBP to a M2 MBP but running Windows 11 on Parallels , so that throws a twist , i.e. that would mean Gemstone running on Windows ARM, of course many ways of setting this up , could run GS straight up on Mac i.e. I believe it already runs on Silicon ? 

Supported platforms: https://urldefense.com/v3/__https://gemtalksystems.com/products/gs64/compatibility/__;!!DZ3fjg!-WcX3mLmpNH5e0hBIoKsN22OibYbazYc8CTOq5i6nCfjGfsWXAxRX73R9XM_Gxj-UqOm5BFyU1rT1ynmRS33zHu8TLdo$ 
Linux on arm64, MacOS on x86, & MacOS on M1 (all supported for development only)

 

64-bit GemStone/S does NOT run on Windows. The OS is too unlike *nix to make it worthwhile.

 

WSL 1 had problems, including no CPU affinity, using the same IP address as the Windows machine, and some other stuff. TL;DR it didn’t work well enough.

WSL 2 runs a Linux OS, so it is much closer to what GS expects. I don’t know about the IP address issue.

 

On Fri, Apr 7, 2023 at 12:14 PM Richard Sargent <[email protected] <mailto:[email protected]> > wrote:

We haven’t done much at all with WSL at GemTalk Systems. Here is our current consensus on it:

“WSL 1 translated Linux API calls to Windows API calls and had some problems. WSL 2 runs a Linux kernel in a VM so should be as complete as any VM running a Linux distribution. My recollection is that I've run GemStone successfully but I don't have it up right now so can't confirm it...”



 

From: [email protected] <mailto:[email protected]>  <[email protected] <mailto:[email protected]> > On Behalf Of Charles Monteiro
Sent: April 7, 2023 07:46
To: giorgio ferraris <[email protected] <mailto:[email protected]> >
Cc: [email protected] <mailto:[email protected]> 
Subject: Re: [vwnc] suggested persistence approach for new app

 

nothing really wrong with Mongo, but if you are going to model OO Gemstone is better

I have to double check if one can run Gemstone under WSL now , there were issues before

 

On Fri, Apr 7, 2023 at 6:22 AM giorgio ferraris <[email protected] <mailto:[email protected]> > wrote:

Hi, Charles, 

 

I use an approach close to the Glorp one. The only difference is that I use my own ORM I started developing before glorp existence, on the old Smalltalk/V ,and moved it to VisualSmalltalk, VW and also c# ... being homegrown, it follows perfectly my needs. 

 What's wrong with Mongo? 

Happy Easter

ciao

 

giorgio

 

BTW: porting to c#, a long time ago, made it really clear the number of constraints that a statically typed language imposes on your code, and the beauty of Smalltalk. But customers wanted c#....

 

 

On Thu, Apr 6, 2023 at 9:17 PM Charles Monteiro <[email protected] <mailto:[email protected]> > wrote:

Assuming that Gemstone is already a candidate, although that case I would be doing it thru a web interface which needed further development for my purposes, what would people here do for persistence ? 

 

Plain old EXDI to an RDMS ? 

 

Glorp ?

 

or the MongoDriver which I see has at least been updated to 4.4.8 ?

 

from I"m using it from VW perspective what would be better i.e. for a brand new app ? 

 

Any other suggestions? 

 

thanks

 

-- 

Charles A. Monteiro




 

-- 

Charles A. Monteiro
https://urldefense.com/v3/__http://www.monteirosfusion.com__;!!DZ3fjg!-WcX3mLmpNH5e0hBIoKsN22OibYbazYc8CTOq5i6nCfjGfsWXAxRX73R9XM_Gxj-UqOm5BFyU1rT1ynmRS33zFoI6ORu$  <https://urldefense.com/v3/__http:/www.monteirosfusion.com__;!!DZ3fjg!-6S1CkuKd_Xj2vsyaZUwerhgxHuAtmWvN3G1W_RsA7K0KncsvKLCDVGlq58Z79NYR3WDIC_VY5_7dphyiU-y5wwW-oO44YZCVA$> 
sent from the road




 

-- 

Charles A. Monteiro
https://urldefense.com/v3/__http://www.monteirosfusion.com__;!!DZ3fjg!-WcX3mLmpNH5e0hBIoKsN22OibYbazYc8CTOq5i6nCfjGfsWXAxRX73R9XM_Gxj-UqOm5BFyU1rT1ynmRS33zFoI6ORu$  <https://urldefense.com/v3/__http://www.monteirosfusion.com__;!!DZ3fjg!-WcX3mLmpNH5e0hBIoKsN22OibYbazYc8CTOq5i6nCfjGfsWXAxRX73R9XM_Gxj-UqOm5BFyU1rT1ynmRS33zFoI6ORu$ > 
sent from the road