B4X compiler & Ryzen

ShaneG30

Well-Known Member
Licensed User
@Erel: A dumb question but does B4X take advantage of multiple threads when compiling? I'm assuming it does. (I'm looking into a Ryzen CPU as my next CPU.)
 

Enrique Gonzalez R

Well-Known Member
Licensed User
B4x transpiles to java (in b4a and b4j) then java is compiled to bytecode. (so you can google javac and multithreading)

Javac will try to use all available cores to compile, yet it will not hand specific tasks to each, this means that a cpu with higher clocking will be faster at compiling than a multi threaded cpu.

Where Ryzen shines is in compiling several projects at once, because each will be using a portion of the cpu at the same time.
 
Top