Value Types shims/transpiler?

# Benjamin (Inglor) Gruenbaum (11 years ago)

Hey, I know ES7 value types are not yet done and are definitely not ready for prime time but I'd really like to play with them to get a hang of the API.

I'll be working on a library that will likely take a while to build and will greatly benefit from them and I want to think about the API.

Are there any tools for prototyping and experimenting with ES7 value types under the current idea of what the API will be?

# Benjamin Gruenbaum (11 years ago)

On Nov 19, 2014, at 06:31, Katelyn Gadd <kg at luminance.org> wrote:

You don't mean typed objects, right? You mean value types, pass-by-value?

Correct, I mean value types (or objects) that have value semantics and support operator overloading.

# Brendan Eich (11 years ago)

Benjamin Gruenbaum wrote:

Correct, I mean value types (or objects) that have value semantics and support operator overloading.

We'll probably talk about that tomorrow in a break-out. At least I hope to!

More after this week's TC39 meeting.

# Benjamin (Inglor) Gruenbaum (11 years ago)

We'll probably talk about that tomorrow in a break-out. At least I hope to!

Thanks, this sounds awesome. It's definitely one of the most awaited ES7 features and it's definitely highly applicable in a lot of code I'm writing (and in a lot I'm reading).

If there is any help you guys need with testing the proposal out or writing tooling - please let the community know.