[Mono-dev] Incoming changes to Mono.Simd
jonpryor at vt.edu
Wed Dec 3 20:37:28 EST 2008
On Thu, 2008-12-04 at 02:26 +0200, StApostol wrote:
> Extension methods are great for simplifying the API, but Mono.Simd
> should still be usable by C# 2.0 programs.
Silly question, but why? Since Mono.Simd will only be accelerated under
Mono, and Mono supports C# 3, I don't see much use for the restriction.
Furthermore, even if you did want to use Mono.Simd under .NET, and you
wanted to use VS.NET 2005 (.NET 2.0), that's still no reason to avoid
using extension methods -- you just need to bundle Mono's
System.Core.dll with your app (which will allow .NET to resolve the
ExtensionAttribute type), and invoke the extension method as a static
method (extension methods can still be called as static methods, they
don't need to be called as instance methods).
So I really don't see the point in avoiding extension methods.
More information about the Mono-devel-list