ColdFusion Alive

140 BoxLang modern JVM language that runs CFML code (new CFML engine and much more) with Luis Majano and Brad Wood


Listen Later

Luis Majano and Brad Wood talk about “BoxLang modern JVM language that runs CFML code (new CFML engine and much more)” in this episode of ColdFusion Alive Podcast with host Michaela Light.
“…BX is the acronym we use a lot like our file extensions are analogous to the cold fusion file extensions. So a CFM file, we call that bxm For box Lang markup, CMS, which Lucy six had his support for, which is cold fusion script”.
https://youtu.be/T59ElgfjuY8
Show notes
What is BoxLang?
A new language for the JVM that includes CFML
Inspired by cool CF, Groovy, Rust, Go, PHP etc
Compiles into Java byte code, just like CF
A new language for 2024 and beyond
Not just targeting web server - see below for all runtime targets
7 MB core
Tidy and lightweight core
Super fast start up time in 100-200ms
ACF core 120 to 300 MB 
Lucee core 20 to 120 - 300 MB
Node 80 MB
Add on modules for different target runtimes
Similar in ideas to ACF and Lucee packages
Target runtimes
Web Server
Miniserver
Serverless
Jakarta
Android
Web assembly 
Command line use
Modules are designed from the start vs separated out as in ACF or Lucee
Using tight Java libraries that are different from ACF or Lucee libraries
Drastic architecture differences
No OSGi copies
See below for what OSGi is
MVP for this language
Created to be extensive in the core from the start
Not a monolith
Super strict on 3rd party JARs added to the core due to features in the modern JDK
Oracle improvements in Java language and JVM
Java 21 or higher only
Other JVM that are based on Oracle JVM 21 or higher
Fixes old syntax and function naming inconsistencies from CFML backwards compatible
Has two parsers
Antler parser library for BoxLang code
100% legacy CFML code via transpiler
AST = Abstract Syntax Tree
This is what compiles to Java byte code
Linting and code quality metric tool and VS-code extension IntelliSense and semantics of the language.
Open source AST so easy to extend and hook into it.
In-line debugger is built in with scope introspection
Can innovate in BoxLang language without breaking legacy CFML
Transpiling
Dynamic and can continue to edit legacy CFML code
Or one-time translate to BoxLang language (BX)
Can you translate back from BoxLang to CMFL?
Not currently and technically it can be done - it is open source
The syntax is very close to CFML script and tags
Why
...more
View all episodesView all episodes
Download on the App Store

ColdFusion AliveBy Michaela Light

  • 4.8
  • 4.8
  • 4.8
  • 4.8
  • 4.8

4.8

5 ratings