tiko 0.2.0 released (Dec 1, 2026)

Started by Paul Squires, December 01, 2026, 06:20:36 PM

Previous topic - Next topic

hajubu

#15


Hi there,

Done with Tiko 2.0 as a playground for handling and help to improve the tools.

a1) Tipping slow : on my old,old hp-lap , but wit w11 on it , it runs good and .a.b.c sometimes slower
   This is not tkedit - it is that my old quad core is overloaded if updates running in the background.
a2) on my Workstation i5 with6+6 cores : all works just great

b1) Compiling (with Tíko in tkedit 020) , it talkes while run clean ( Build all..) it takes ( 4 sec for the AdvnetBox_app)
b2) but takes only half the time if it run build run after editing some code.

c1) Compiling the Tiko-lan source code is another challenge:
    Version .020 ++ form the Github repao took between 28-33 minutes ( inl.with tkedit)
phase zero:setup.git-bash for the git-vcvars.bat
phase one:seeding is fast if net is working fast
phase two:bash:build packages run fast (90s)  for prep
phase three:compiling vendor pkg(50) -  takes about 24min  (load size only on 4-cores ?)
phase four: compiling of tiko-lang rt , win-lib ,etc and ... incl tkedit is about 4-5min

c2) if necessary :: Tiko-ls is running fast after the toolchain is ready to work

resumee:

before v017 ( with fewer vendors pkg container to load and/or compile it was ony 5-6 minutes.

D1) working on linux Fedora in VM is fine - did not yet test copilimg tiko-lang sources
d2) tiko-lang/tkedit itseld is running natively as fast as you can run
d3) tiko-lang on lunux in wine for tiko-win is fine - but wine , you amay grine.
d4) tiko-lang in win11-wsl2 with kali-linux and kxe is ok, but using fedora or another linux in VM is better
d5 Fedora 45 on real Hardware is the fastest solution
d6) Apple , now I do grine : Ihave seen a Äblack hole'

Have fun with test and playing with nearly grown up tiko-lang Studio.


Happy Advent Season

Hajubu




Paul Squires

@hajubu thanks for all your testing. I appreciate it. Have you tried the new AfxNova zip download that I posted a few posts back for @docroger ?  I expect that new package will fix all of the AfxNova incompatibilities.

Yes, doing a full build of tiko will take a while if you run the package.sh script because it will also deal with the vendor libraries. However, the build.sh (or build.bat on Windows) scripts do not build the vendor packages.
build\build.bat Release

Hopefully that will speed up your builds :-)

Paul Squires
PlanetSquires Software

José Roca

#17
All those duplicate declarations in AfxExt.inc exist because the official FreeBasic headers are outdated. They were intended to be removed as the declarations were incorporated into future versions of FreeBasic. I updated the headers myself for tiko-lang, so if you mix them, duplicates will appear.

For tiko-lang, I have kept CDialog, but not DDT.inc. The latter was an experiment to see if PowerBasic users would adopt it, but they did not. The current CDialog should only be used for auxiliary dialogs, not for the main window; the Windows dialog engine is not designed for that and causes issues. CWindow is the better choice.

AfxNova uses DWSTRING because FreeBasic lacked dynamic Unicode strings. tiko-lang includes USTRING, but mixing the use of DWSTRING and USTRING can cause problems in certain cases.

MSFlexGrid can't work with tiko-lang because that is a 32-bit only control and tiko-lang is 64-bit only. The ADO and ODBC examples won't work either, because they use the JET engine, which is 32-bit only.

Many features of AfxNova—such as string manipulation, mathematical functions, complex numbers, etc.—have been incorporated into the tiko-lang runtime or into the classes within the std package.

Keep in mind that tiko-lang is no longer FreeBasic with additions, but rather a new language that aims to be as compatible with FreeBasic as possible.

docroger

Hi,

First, thanx for your time and help you give me.
Appreciate.

With afxnova-fixed, i can compile the sample (release mode : not easy, because project mode is draft and incomprehensible, as tab Explorer... but i can)...

But...

To sum up : there was AFX, then AFX2, then AFXNOVA, then ZeroAFX-Tiko, then AFX-BOOM ?

Seriously ? Noway...

The abandonment of DDT is shame : DDT can make old good powerbasic softs survive...

Babababa... Sad times

In summary, i am disapointed...

The editor is slow (tiping) on my old xeon overclocked, but processor is able to run windows 11 and steam games.

I stay tuned, and try to migrate my little apps...

Thanx.

hajubu

#19
Thank you ,Paul

for your advice - compiling Tiko-lang form sources with

'build\build.bat' instead of 'bash build/packages.sh' to accelerate the process.

But the resulting out is only a new tiko.exe without a tkedit. ( app 300 sec)
My target of compiling your intermediate sources in 'tiko-lang-master' is: the Toolchain as a whole
i.e. PLUS FOLDER ./inc, ./pkg, ./examples, (./src) --> I'm using the 'bash build/packages.sh'.

A solution for a minimum toolchain (tiko,Tikoedit,./inc, ./pkg, ./examples  is sufficient.
optional + wiki , book and by-example would be better.

Optimizing the building process overall is also appreciated.

Thanks again,

Hajubu

P.S. attached. my findings

and ... some words at tkedit is slow while typing .
Did you test the keyboard buffer filling and giving the content to theoutput channel --> displaying the single char ?
Just try to hold any alphanum key down for 3-5 sec and waztch the monitor.
It fills first the buffer and return the content after releasing that key - and wooom the whole buffer is displayed.
Is that what you intended. ?
Even your forum weditor is faste with that process . Hmmmmmmmmmmmmm ?! ::)  ::)

Paul Squires

@hajubu

I have attached a batch file that should compile just the tkedit.exe

You need to pass to the batch file the path to a valid existing tiko toolchain:

build.bat C:\path\to\tiko-toolchain

I am adding this batch file to tiko distribution.
Paul Squires
PlanetSquires Software

Paul Squires

@hajubu @docroger

Please try the new tkedit.exe in the zip file at this download link:
https://www.planetsquires.com/files/tkedit-slow-type-fix.zip

There was a lot of new SDL windows being created during each keystroke which would slow down older CPU and graphics cards. The new approach is to create the codetip once and reuse it over and over.
Paul Squires
PlanetSquires Software

José Roca

> To sum up : there was AFX, then AFX2, then AFXNOVA, then ZeroAFX-Tiko, then AFX-BOOM ?

Afx2 was never made public. It consisted of experiments in a private repository before AfxNova existed.

Software evolves. AfxNova was written for FreeBasic, while tiko-lang has evolved into a different language that aims to remain largely compatible with FreeBasic, but is no longer FreeBasic with extensions.

If you don't like tiko-lang and you prefer the previous environment, there is nothing preventing you from continuing to use AfxNova with the FreeBasic compiler and the Tiko editor for Windows. It remains a perfectly valid option.

hajubu

#23
@paul

Thanks for the fast reply , solving 2 parts at once in one step. :)  :)

a) Typing speeding up older machine Hp-Laptop HP EliteBook 8470p :

a1) CPU: Intel Core i5-3320M , Ivy Bridge-MB PGA , @2600 / 16GB @1600 / SATA SSD 850 256GB

  As said before : was 'ok' before with org. tkedit.020 ( tiko-windows-x86_64-a0eaa44c 261201)
  - was only slowing down with normal typing , editing code etc. ,
  when background tasks were also active ( like updates,etc)
  -  get a little more speed at my 'push-key-and-hold-test'

a2) CPU: Intel Core i5-12400, Alder Lake-S 601 @2500 / 32GB @3200 / SATA SSD870 1T/ NVMe SSD970 1T /
 
  This was more important as it is a newer gen.CPU with 6+6 cores and std. Intel graphic driver
  - during normal typing ,  - I'm also slow now with my nearly 960 months under my belt -
    the action were fine and sufficient. ( background tasks doesn't matter at all )
  - BUT with my keyboard test - even it is an older logi-bluetooth one - the fun was gone.
    tkedit.020 - was stuttering, blocking and flawing - !! before .020 like .160 tkedit was OK !!
 
  :)  OK-Now with the 'tkedit.020-fixed' it runs fine -  now I can work without waiting on key response

b) Build.bat - fixed -  Thanks for your help - I have to test it now - ( need a spare time)
  It will help for the STAGE0/SEEDING and generating tiko / Tkedit w.o. the burden of pks's rework
  I do estimate : being back to max.12 minutes for the Toolchain generation as intermediate update.
  That is OK , for an fast shot between to master steps.

Thank You , I appreciated your fast response and  help a lot :)

Hajubu
 
P.S. was is a really old cpu , graphic  - which should not work with Tiko at its best.  ;D