SShortSingh.
Back to feed

Codename One Locks UI Fidelity Against OS Updates with Native Metal Pipeline

0
·1 views

Codename One, an open-source framework for building cross-platform apps from a single Java or Kotlin codebase, statically links its own lightweight UI components into native iOS and Android apps, preventing OS updates from altering the interface without developer consent. Unlike apps built on UIKit, SwiftUI, Compose, or Material widgets, Codename One's UI renders through its own Metal pipeline on iOS, giving developers full control over when visual changes are adopted. A major fidelity update — PR #5274 alone spanning over 53,000 additions across 1,147 files — brought iOS and Android themes closer to platform standards, fixing issues such as incorrect button shapes and missing Material 3 specifications. In parallel, the team's ParparVM ahead-of-time compiler reached performance parity with warmed Java 25 across ten benchmarks, with six finishing at or ahead of HotSpot. A companion accessibility update added a portable hierarchy, virtual semantic nodes, and simulator audits across nearly 7,000 lines of new code, with a dedicated post on that work planned for Monday.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer finds deterministic rules outperform LLM in log classification after rigorous eval

A software developer built an evaluation harness to test whether a large language model could reliably classify integration failures from a legacy system generating over 4,000 parsed log errors. Testing across 58 hand-reviewed cases showed rule-based classification scored 89.7% accuracy versus the LLM's 87.9%, and three rounds of prompt engineering produced no improvement. The developer also found that regex matched the LLM's structured data extraction at 90–97% agreement, disproving an earlier assumption that extraction was a natural fit for AI. The final architecture uses deterministic rules for classification and structured extraction, reserving the LLM solely for writing plain-English incident summaries, where it scored 4.62 out of 5 for faithfulness. The entire pipeline runs locally via Ollama at zero API cost, processing each case in roughly 8–10 seconds.

0
ProgrammingDEV Community ·

Developer Fixes Null Check Bug in Hermes Agent That Crashed Permission System

A full-stack developer from Kolkata, Aniruddha Adak, identified and fixed a critical bug in NousResearch's open-source hermes-agent framework. The flaw resided in the permission bridge, where the function request_permission could silently return None when an ACP client sent an empty response, causing an AttributeError crash instead of a safe denial. Because the existing code accessed result.decision without first checking for None, the agent would crash mid-session rather than defaulting to a secure deny state. Adak reproduced the issue locally, then submitted a minimal patch adding a guard clause that returns 'deny' immediately whenever the response is None. The fix, merged as PR #13457, follows a standard fail-safe security pattern and includes a dedicated unit test to prevent regression.

0
ProgrammingDEV Community ·

Developer with Zig background shares key lessons from 1.5 months learning C

A developer with two years of Zig experience began learning C about six weeks ago as a requirement for an upcoming job, using a PNG decompression project as a practical exercise. Despite Zig's heavy inspiration from C, the transition proved harder than expected due to differences in standard library structure, keywords, and header file organization. The developer found the C community on Reddit to be helpful rather than hostile, with experienced programmers pointing out errors and suggesting improvements. Compiler flags such as -Wall, -Werror, and -fsanitize=address,undefined proved especially valuable in catching memory leaks and out-of-bounds errors quickly. After the experience, the developer acknowledges still having much to learn, particularly around idiomatic pointer usage, but notes that C turned out to be far more distinct from Zig than initially assumed.

Codename One Locks UI Fidelity Against OS Updates with Native Metal Pipeline · ShortSingh