BigArray<T>, getting around the 2GB array size limit

I’ve received a number of queries as to why the 64-bit version of the 2.0 .Net runtime still has array maximum sizes limited to 2GB. Given that it seems to be a hot topic of late I figured a little background and a discussion of the options to get around this limitation was in order….

14

What is the difference in a P/Invoke signature between “byref byte” and “byte[]”?

Lately we’ve seen a spate of issues coming up on 64-bit platforms within the Developer Division around usages of P/Invoke signatures which declare a parameter as type “byref byte” where the developer really means “byte[]” (the corresponding native parameter type being something like LPBYTE). Usually when something works on 32-bit and doesn’t work on 64-bit…

3

Bit specific code in agnostic assemblies???

In previous blog entries I’ve spent some time talking about how to mark assemblies as bit specific and how the loader deals with those markings. What however is the preferred mode of an application? I will posit that it is to be compiled agnostic and to run equally well on both 32-bit and 64-bit platforms….

7

Isn’t my code going to be faster on 64-bit???

[updated 10:50am 5/2/05: It turns out that I copied and pasted an error in my code from the newsgroup posting I was answering. However a kind reader was able to spot it and I’ve fixed it, I’m getting new data and will updated graphs later today, however the points of the article remain valid] [updated…

12

Paint.Net is pretty cool, 20 minutes to get it running on 64-bit is even cooler!

Last night I played with Paint.Net for a while and got it running on the native 64-bit CLR with whidbey… Pretty cool stuff!!! Actually, a while might be overstating things… It took longer to install a copy of VS 2005 on my clean AMD64 machine than it did to get Paint.Net running natively, in fact there…

7

Good blog entries on .Net GC

I just ran across these, they are a couple of really good reads on the .Net GC… http://blogs.msdn.com/maoni/archive/2004/06/15/156626.aspx http://blogs.msdn.com/maoni/archive/2004/09/25/234273.aspx


Good reading about 64-bit .Net and the GAC… Via, Junfeng.

Here are a couple of really worthwhile entries written by Junfeng on the GAC, why you might compile platform specifc and 64-bit… I don’t know if I need to bother with my intended GAC entry anymore… http://blogs.msdn.com/junfeng/archive/2004/08/11/212555.aspx http://blogs.msdn.com/junfeng/archive/2004/09/12/228635.aspx  


How the OS Loader will force .Net v1.0/1.1 executables to run under WOW64 on a 64-Bit Machine

[10/15, 2:04pm, fixed a couple typos; 10/15, 4:51pm, clarified a point] Before you read this entry, you might want to read these two entries: –          http://blogs.msdn.com/joshwil/archive/2004/03/13/89163.aspx –          http://blogs.msdn.com/joshwil/archive/2004/03/11/88280.aspx   In case you skipped the link and kept on reading I’ll summarize the first post linked to (I however believe that they are really worth reading):…

16

ArrayList’s vs. generic List for primitive types and 64-bits

<edited post, 3:51pm, something in the formatting was messing up the whole page…> The dynamically growing ArrayList structure is an interesting one, the other day I was looking at memory usage of some performance scenarios on 64-bit machines vs. 32-bit machines and noticed that ArrayLists are double the size on 64-bit machines. After looking at…

18

Unsafe code, Stacks and IA64…

Sometimes the differences between platforms can show up in interesting ways. Last week I was looking at a bug that was filed about a difference in error mode between IA64 and x64/x86 platforms… I thought the investigation led me down an interesting path so I thought I’d share it with you.   What might you…

3