Searcharxiv⌕ Search

arXiv subjects

Luke Cheeseman

Publications and source records attributed to Luke Cheeseman.

2 recordsLinked to original sources

Nothing Is Shared Until You Synchronise: Reinterpreting Java for Data-Race Freedom

In mainstream shared-memory languages, programmers use synchronisation mechanisms such as locks to isolate shared data accesses across threads to avoid data races. Yet synchronisation enforces only a temporal ordering, while shared memory still communicates updates between threads at every ordinary read and write. To achieve isolation, programmers therefore need to understand the connection between ordering and communication, and to apply synchronisation correctly and consistently, while compilers and hardware optimise assuming they have. When programmers synchronise incorrectly, they lose isolation, and the semantics of their programs change without notice. We propose Sync-as-Share, a memory model built on isolation and communication rather than on the ordering of accesses to shared memory. We start from thread isolation, where each thread reads and writes a private view of memory, and reinterpret programs' existing synchronisation actions to also communicate updates explicitly. As nothing is communicated outside synchronisation actions, data races become impossible by construction. Instead, conflicting updates are detected at synchronisation points. Viewing synchronisation as explicit communication exposes the design decisions of what should be communicated, to whom, and what counts as a conflict. We propose two communication topologies with different trade-offs. We instantiate Sync-as-Share for Java by making the synchronisation actions already defined by its memory model the only points at which threads communicate, so Java programs can adopt Sync-as-Share unmodified. We formalise this instantiation as version-controlled memory, in which synchronisation actions push and pull updates between private views, and mechanise it in Rocq. We show that Java programs that are correctly synchronised under the Java memory model behave identically under shared memory and Sync-as-Share.

cs.PL↗

Nonlinear vortex dichroism in chiral molecules

The recent discovery that linearly polarized light with a helical wavefront can exhibit vortex dichroism (also referred to as helical dichroism) has opened up new horizons in chiroptical spectroscopy with structured chiral light. Recent experiments have now pushed optical activity with vortex beams into the regime of nonlinear optics. Here we present the theory of two-photon absorption (TPA) of focused optical vortices by chiral molecules: nonlinear vortex dichroism (NVD). We discover that highly distinct features arise in the case of TPA with focused vortex beams, including the ability to probe chiral molecular structure not accessible to current methods and that the differential rate of TPA is significantly influenced by the orientation of the state of linear polarization. This work provides strong evidence that combining nonlinear optical activity with structured light provides new and improved routes to studying molecular chirality.

physics.optics↗