Francis McCabe

Results 244 comments of Francis McCabe

Supporting 'compile-time' functions aka macros would go a long way to addressing code size problems.

IMO, having a 'standard' trap->exception function seems like a 'bad idea'(tm). It makes the specification much more difficult to reason about. This is especially true if that becomes an environmental...

If you are going to have an instruction throw an exception on trap, you must also solve the next two problems: what is the nature of that exception and (assuming...

What effect would this have on code size?

Been mulling the micro-benchmark re type casting. The biggest weakness is drawing a comparison between Java's casting machinery and a putatitive WASM cast. I know that Java's type cast can...

Depends. If you cast a Java object to an interface, then a search is required. You do not know at compile time which of an object's interfaces is the right...

In any case, it might be better to have a 'pure' C benchmark that mimics potential behavior of WASM cast instructions than relying on actual behavior of cast in Java...

Obviously some misunderstanding here. The purpose of the C (not C++) benchmark is not to compare with Java's type casting. Its purpose is to expose the true cost of a...

I don't have a well formed opinion on this at the moment.

There is a use case that does not seem to be addressed by this: using buffers to communicate between modules outside the call to set it up. This seems to...