BT
rss
.NET Follow 375 Followers

Performance of Structs in C# 7.2

by Pierre-Luc Maheu Follow 4 Followers on  Jul 31, 2018

The C# compiler, under some circumstances involving readonly, creates defensive copies of a struct. While this issue is well known and documented, it’s worth revisiting as it’s tied to several features of C# 7.2. The in and ref readonly keywords make occurrences of the issue more frequent, while readonly structs offer a way to fix it.

Java Follow 939 Followers

Oracle Presents First Proposal for Value Types Implementation

by Abraham Marín Pérez Follow 8 Followers on  Nov 09, 2016 1

A couple of months ago, John Rose, JVM Architect, and Brian Goetz, Java Language Architect, both at Oracle, published the first minimal value type proposal to allow early prototyping. At this point, the proposal makes no changes to the Java language itself, and adds only one new bytecode instruction. InfoQ analysed this proposal to indicate the direction that Project Valhalla is heading.

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT