[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gbs3 not exiting


can't it do it in the background as a task?

seems the actual highlighters return their values right away, then the
process holds while all the jit libs are made, then finally the process
ends.

so could it just make the libs in a background task?

Or maybe make the libs in a more permanent place so it does not have to
remake them at each boot?  ~/.local/libs/gambas3 or something?

I would not exactly call my laptop slow, it's an 8 core i5 dell Latitude,
it's not the best but it's not bad.
Still that one line of code takes 45 seconds on a fresh JIT cache in /tmp/.

Respects.
BruceS

On Fri, 13 Nov 2026 at 18:45, Benoît Minisini <
benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Le 13/11/2026 à 18:55, Brian G a écrit :
> > I would be good if at the time the software (apps,libs,components) is
> > installed onto the machine, that a /lib/gambas3/cache be created for
> > apps and lib/components that use jit, some part of the install process
> > invokes the jit compiler on the system being installed upon and caches
> > it in the system folder, where gambas looks first for cached built jit
> > code... I wonder if that sort of thing is possible. It sure would speed
> > things up.
>
> I can't, and I don't want, because JIT must not break
> architecture-independant packages, and because JIT does not just depends
> on the system, but on the CPU too.
>
> >
> > on the up side, if you change the jit compile flags such that they do
> > not do aggressive in-lining it speeds the time taken up by quite a lot.
> >
>
> Maybe this is a solution for "slow" computers, using "-O2" instead of
> "-O3". I will check...
>
> --
> Benoît Minisini.
>
>
>

Follow-Ups:
Re: gbs3 not exitingBrian G <brian@xxxxxxxxxxxxxxxx>
Re: gbs3 not exitingBrian G <brian@xxxxxxxxxxxxxxxx>
References:
gbs3 not exitingBruce Steers <bsteers4@xxxxxxxxx>
Re: gbs3 not exitingBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: gbs3 not exitingBruce Steers <bsteers4@xxxxxxxxx>
Re: gbs3 not exitingBrian G <brian@xxxxxxxxxxxxxxxx>
Re: gbs3 not exitingBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>