473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Is .NET to replace Win32?

I'm still new to .NET and come from a win32 background.

I'm happy w/ what I see in .NET although it is a little slower than
I'd like. It also has a nice oo design and C# is a wonderful language
to write in.

But is this designed to be like a newer/better MFC that will always
rest on top of win32 or something like it? Or will .NET take over as
THE WAY to write Windows software?

Thanks.
Nov 16 '05 #1
16 1647
On top of something, definitely until ... (but that takes time)
The way? That's up to you.
Nov 16 '05 #2
Phill,

Right now, it generally rests on top of Win32 for some of it's
functionality (for example, the classes in the System.Windows.Forms
namespace). However, Avalon will change that. The codebase for Avalon is
managed code (as is Indigo and WinFx), and there will be no unmanaged code
interface. If unmanaged code wants to connect to these things, then it will
have to get an unmanaged code wrapper for the managed code.

This doesn't mean that advancements in the Win32 platform won't take
place. Take for example the fact that NTFS is going to be come
transactional. There is a Win32 entry point for beginning/ending the
transaction, and will probably have a managed entry point as well.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Phill" <wa********@yahoo.com> wrote in message
news:ac*************************@posting.google.co m...
I'm still new to .NET and come from a win32 background.

I'm happy w/ what I see in .NET although it is a little slower than
I'd like. It also has a nice oo design and C# is a wonderful language
to write in.

But is this designed to be like a newer/better MFC that will always
rest on top of win32 or something like it? Or will .NET take over as
THE WAY to write Windows software?

Thanks.

Nov 16 '05 #3


"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:OQ**************@TK2MSFTNGP11.phx.gbl...
Phill,

Right now, it generally rests on top of Win32 for some of it's
functionality (for example, the classes in the System.Windows.Forms
namespace). However, Avalon will change that. The codebase for Avalon is
managed code (as is Indigo and WinFx), and there will be no unmanaged code
interface. If unmanaged code wants to connect to these things, then it
will have to get an unmanaged code wrapper for the managed code.

Nicholas,

Not sure where you get this from? Indigo relies on COM interop for
bootstrapping, and through COM interop it enables unmanaged code to be
exposed as WS-x services and by the same way services can be consumed from
unmanaged code. Indigo also relies on Win32 for it's OS services and needs
unmanaged components as hosting services (http.sys or asp.net).

Willy.
Nov 16 '05 #4
Phill wrote:
I'm still new to .NET and come from a win32 background.

I'm happy w/ what I see in .NET although it is a little slower than
I'd like. It also has a nice oo design and C# is a wonderful language
to write in.

But is this designed to be like a newer/better MFC that will always
rest on top of win32 or something like it? Or will .NET take over as
THE WAY to write Windows software?
Take over.

All of the new so-called 'operating system' features that microsoft has
proposed so far in Longhorn, should simply be .NET implementations.

As far as win32 -- absolutely -- win32 type operations should be completely
wrapped in the .NET object layers.

Thanks.


--
http://antimeme.texeme.com
Nov 16 '05 #5
Just thinking, first an IL processor in hardware, probably microcode
initially like in the 'old' days (mainframe is still here), then what? The
important new thing being things becoming available for the masses in a nice
format. Any thought anyone?

Nov 16 '05 #6
Willy,

I'm not saying that the implementations are devoid of unmanaged code
(you are right, there is a good amount of unmanaged code on the Indigo
side), but rather, the interfaces are going to be through managed code, as
well as the majority of the implementation.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:e9**************@TK2MSFTNGP12.phx.gbl...


"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote
in message news:OQ**************@TK2MSFTNGP11.phx.gbl...
Phill,

Right now, it generally rests on top of Win32 for some of it's
functionality (for example, the classes in the System.Windows.Forms
namespace). However, Avalon will change that. The codebase for Avalon
is managed code (as is Indigo and WinFx), and there will be no unmanaged
code interface. If unmanaged code wants to connect to these things, then
it will have to get an unmanaged code wrapper for the managed code.

Nicholas,

Not sure where you get this from? Indigo relies on COM interop for
bootstrapping, and through COM interop it enables unmanaged code to be
exposed as WS-x services and by the same way services can be consumed from
unmanaged code. Indigo also relies on Win32 for it's OS services and needs
unmanaged components as hosting services (http.sys or asp.net).

Willy.

Nov 16 '05 #7
If you wanted to eliminate Win32 completely you'd probably have to have a
processor that can understand MSIL. I don't know whether there currently are
any or plans to make them, but I did hear a rumour that MS were planning to
liase with chip manufacturers in something called 'palladium' whereby the
chip itself would ensure that only trusted / licensed code could run. How
far they'll get with it and whether it'll be successful I don't know, it
really depends on how consciencious they are about encouraging amateur
developers to get their work out to people - it could be said (or hoped)
that they see this as commercially important aswell as morally. However I
can't see anything wrong with chips that can understand MSIL that anybody
can write code for, if it would be technically viable at the low level.

"Phill" <wa********@yahoo.com> wrote in message
news:ac*************************@posting.google.co m...
I'm still new to .NET and come from a win32 background.

I'm happy w/ what I see in .NET although it is a little slower than
I'd like. It also has a nice oo design and C# is a wonderful language
to write in.

But is this designed to be like a newer/better MFC that will always
rest on top of win32 or something like it? Or will .NET take over as
THE WAY to write Windows software?

Thanks.

Nov 16 '05 #8

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:Om**************@TK2MSFTNGP10.phx.gbl...
Willy,

I'm not saying that the implementations are devoid of unmanaged code
(you are right, there is a good amount of unmanaged code on the Indigo
side), but rather, the interfaces are going to be through managed code, as
well as the majority of the implementation.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

Nicholas ,
Your reply:
/
The codebase for Avalon is managed code (as is Indigo and WinFx), and there
will be no unmanaged code
interface. If unmanaged code wants to connect to these things, then it will
have to get an unmanaged code wrapper for the managed code.
/
My point is that Indigo will also provide interfaces for unmanaged service
consumers and providers, so that they can "seamlessly" integrate within the
service oriented architecture.
Indigo wouldn't be accepted if they would exclude or make it hard to
interface with unmanaged code, you don't think everyone is switching to
managed code do you? ;-) .

Willy.

Nov 16 '05 #9
Win32 (or Win64) will always be between the metal and managed code (unless
they get those special cpus other poster talked about.) Winfx will try to
wrap most/all apis in managed code and create new apis in managed code when
reasonable to do so.

--
William Stacey, MVP

"Phill" <wa********@yahoo.com> wrote in message
news:ac*************************@posting.google.co m...
I'm still new to .NET and come from a win32 background.

I'm happy w/ what I see in .NET although it is a little slower than
I'd like. It also has a nice oo design and C# is a wonderful language
to write in.

But is this designed to be like a newer/better MFC that will always
rest on top of win32 or something like it? Or will .NET take over as
THE WAY to write Windows software?

Thanks.


Nov 16 '05 #10
Chips that are loaded with micro code have existed for over 30 years now.
Given micro code X the chip behaves like processor X, given micro code Y it
behaves like processor Y. Micro code can be hard or soft.

Desktop processors have micro code burned into them. On top of that we have
the bios in ROM. Sofar the hard part. What's loaded into RAM is the soft
part.

Given the increase in capacity I see the layers descend into the processor
step by step. Not a problem, it just takes time.
Nov 16 '05 #11

"Joep" <St***@DeStoep.nl> wrote in message
news:41***********************@news.xs4all.nl...
....
Given the increase in capacity I see the layers descend into the processor
step by step. Not a problem, it just takes time.


Processors that have IL as their native instruction set aren't gonna happen.
Processors are all about executing instructions as fast as possible, which
means keeping them simple. Compiler technology takes care of briding the
gap. There is no trend of processors working up the layers - if there was
then processors that run JVM or LISP would be common by now.
--Gareth
Nov 16 '05 #12
It's not all about imagination, have a look at the good old IBM mainframe
and its IPL and think about emulation. Moore's law has not yet come to an
end, mechanic memory clocks at 23,5 Mhz in test which is a little bit faster
than what we have commercially available today with magnetic disks (look for
Mohanty/Boston if you would like to know more about it), can you imagine?
What about graphics cards? They have been absorbing what used to be done in
software, right? So there is a trend of moving what was done in software
down to the hardware level. The debate between RISC and CISC has not yet
come to an end. What about a compiler that programs a PLA? I see no
technical reason that would prevent this - it is technically possible today,
only commercial reasons migth interfere.

Let's see what the future brings in this field, ok?


Nov 16 '05 #13
Micro-code is not the same as IL by the way, just in case.
Nov 16 '05 #14
I understand that something like WIN32/WIN64 must exist. I wasn't very
clear. What I meant was, is .NET programming going to replace Win32
programming as the dominant or preferred way to write Windows
Programs. And will Win32 programming go away?
Nov 16 '05 #15
Technically, Win32 was replaced by MFC as the way to make Windows
programmes, but too many Win32 programmers complained and MFC was dumbed
down. Personally, I have written programmes by all three methods and I
much prefer .Net, albeit that VS.Net is a highly dumbed down tool and
needs vast improvement.

Phill wrote:
I understand that something like WIN32/WIN64 must exist. I wasn't very
clear. What I meant was, is .NET programming going to replace Win32
programming as the dominant or preferred way to write Windows
Programs. And will Win32 programming go away?


Nov 16 '05 #16
> Technically, Win32 was replaced by MFC as the way to make Windows
programmes, but too many Win32 programmers complained and MFC was dumbed
down. Personally, I have written programmes by all three methods and I
much prefer .Net, albeit that VS.Net is a highly dumbed down tool and
needs vast improvement.


I'm sure Microsoft are continously working on VS .NET. Personally I haven't
used the new whidbey release yet, but my impression is that it's a "vast
improvement" compared to the current 2003 version (according to feedback
from our developers).

--
venlig hilsen / with regards
anders borum
--
Nov 16 '05 #17

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: kkroculick | last post by:
Hi, I have a minor issue with DB2 UDB on Win32. I have a field containing text data (raw XML). I am trying to replace a string with another string (via "update table set field0 =...
5
by: Dan | last post by:
Okay...one last question. I've pretty much spent the weekend reading up on .Net, Soap, web services and enough three letter acronyms to feed the world alphabet soup. Is it a fair and mostly...
7
by: Ken Varn | last post by:
I am working in managed C++. I have a Mutex object in which I need to replace the Handle property with a new handle. The new handle is being constructed using Win32 CreateMutex call. I need to...
8
by: Tony Johansson | last post by:
Hello! I just wonder what the difference is between a native win32-app and MFC. What I know is that you can use Win32 API in both cases. I think an MFC application is connected with a GUI...
2
by: John Nagle | last post by:
I'm trying to clean up a bad ASCII string, one read from a web page that is supposedly in the ASCII character set but has some characters above 127. And I get this: File...
0
by: jbenezech | last post by:
Hi all , I have a perl/java app running under Win32. The application consists of a perl service (Win32::Daemon) and of java classes. The perl service calls every xx hours java classes to perform...
3
by: somuchh8 | last post by:
Hi, I'm having a lot of trouble with the Win32::Spawn module in perl. Here is my situation, I have a Win32::Spawn call which looks like this: my $success = undef; my $cmdline =...
16
by: spl | last post by:
To increase the performance, how to change the / operator with bitwise operators? for ex: 25/5, 225/25 or 25/3 or any division, but I am not bothered of any remainder.
7
by: Captain Paralytic | last post by:
To replace just the last full stop in some text with ".@" I can use preg_replace('/\.$/','.@',$s); But how so I reverse that to replace all full stops except for the last one. E.G. "Hello...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.