Blog: 'not a JVM' SIMD/stack-allocation deep dive + syndicate_force override#5269
Open
shai-almog wants to merge 1 commit into
Open
Blog: 'not a JVM' SIMD/stack-allocation deep dive + syndicate_force override#5269shai-almog wants to merge 1 commit into
shai-almog wants to merge 1 commit into
Conversation
Contributor
Blog prose gate✅ No net-new prose findings introduced by this PR. |
Contributor
Cloudflare Preview
|
339c5a7 to
fd9ac20
Compare
… mermaid loader fix Wednesday deep dive on adding aligned arrays, stack allocation and portable SIMD to Java by compiling to C instead of running on a JVM, with real CI benchmark numbers, an escape-analysis / cold-client-code section, and the honest 'measure handcrafted SIMD against an -O2 compiler' lesson. Also hardens the shared mermaid shortcode: the loader is a dynamically-injected ES module that runs after DOMContentLoaded, so mermaid's startOnLoad listener never fired; render explicitly with mermaid.run() instead (verified in Chromium and WebKit). Adds an opt-in syndicate_force front-matter flag so this non-Friday post can join the DZone/Foojay rotation. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
fd9ac20 to
bf2f939
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
An engineering deep-dive blog post (Wed 2026-06-24) plus the small syndication change it needs.
Post:
docs/website/content/blog/not-a-jvm-simd-stack-allocation.md— "We're Not a JVM, and That's How We Got SIMD and Stack Allocation into Java." Because Codename One compiles bytecode to C instead of running on a JVM, we added aligned arrays, stack allocation (allocaByte), and portable SIMD (Simd/IOSSimd/WindowsSimd/LinuxSimd). It carries real CI benchmark numbers (fused kernels win on x64 + NEON; the Base64 byte-shuffle codec wins on NEON but is deliberately gated to scalar on x86-64 because the/O2autovectorizer already matches it), two{{< mermaid >}}diagrams, and an honest note that CI's-O1builds overstate the speedups vs the-O2releases.master: Windows #27900572303, Mac #27904116497, iOS #27904116502.blog-prosegate (Vale + LanguageTool); addedautovectoriz*,speedups?,footguns?to the blog accept-list.Syndication change
This is a non-Friday deep dive we want to push to DZone + Foojay experimentally. Both are normally Friday-only gated, so I added an opt-in front-matter flag:
Honored by
_forced_platforms()inqueue_browser_syndication.py(used by both_platform_acceptsand the prune_task_is_allowed) and inline inFoojayAdapter.accepts. Default behavior is unchanged — a normal Wednesday post without the flag stays gated (verified). The flag does not bypass theMIN_AGE_DAYS = 7eligibility, so the canonical on codenameone.com still indexes first (SEO).Note: the blog's lightweight front-matter parser is scalar-only, so the list arrives as a string —
_forced_platformstokenizes it withre.findallto handle either form.Test plan
blog_prose_gate.py(Vale + LanguageTool) passes — no net-new findings.py_compileclean; mermaid shortcodes balanced; hero image 2048×1024.-O2behavior, theapplyMaskiOS regression) before merge.🤖 Generated with Claude Code