Hi,
Is it possible to write system level software in C#?
(Of course, I'm not thinking about HAL.)
But would be C# OK to write an OS kernel?
....Or a web browser?
Thanks in advance
MrAsm 17 1416
On Sat, 02 Jun 2007 02:58:17 -0700, MrAsm <mr***@usa.comw rote:
Is it possible to write system level software in C#?
(Of course, I'm not thinking about HAL.)
But would be C# OK to write an OS kernel?
...Or a web browser?
Web browser for sure. OS kernel? I suppose that depends on what kind of
hardware you want that kernel to run on, and what you expect it to do.
I'd say generally the answer would be "no", but I can imagine some very
simple "OS kernel"-like projects where C# would probably work fine.
Why do you ask?
Pete
hi,
Web browser.. hmm check out the web browser component in .net 2.0.
Not really as C# is a high level compiler. If you really really wanted to
you'd have to create an OS kernel first in some other language to support
the C# code. I guess you could create a cross-compiler which would allow you
to create the C# code which is then converted into the lower level code
which an OS runs.
Keep in mind that on your PC C# is executed via the .NET engines which run
off the Windows engines which run of the computers BIOS. That's a lot of
functionality to replace.
"MrAsm" <mr***@usa.comw rote in message
news:dm******** *************** *********@4ax.c om...
Hi,
Is it possible to write system level software in C#?
(Of course, I'm not thinking about HAL.)
But would be C# OK to write an OS kernel?
...Or a web browser?
Thanks in advance
MrAsm
C# was not made for system level developing. You can do advanced
things with it (like call low-level Win32 API functions, make windows
services, attach to global events, and etc.), but due to its "virtual
nature", stay out from it when considering system level software
development.
Maybe, and only maybe, Vista brings this feature because it's better
interconnected with .NET ( http://www.grimes.demon.co.uk/dotnet/
vistaAndDotnet. htm)
MrAsm je napisao/la:
Hi,
Is it possible to write system level software in C#?
(Of course, I'm not thinking about HAL.)
But would be C# OK to write an OS kernel?
...Or a web browser?
Thanks in advance
MrAsm
On Sat, 02 Jun 2007 03:29:41 -0700, Hakan Fatih YILDIRIM
<hf*********@gm ail.comwrote:
>Web browser.. hmm check out the web browser component in .net 2.0.
Is the web browser component in .NET written entirely in C#, or is it
a wrapper around a COM component written in C++?
MrAsm
On Sat, 02 Jun 2007 11:26:14 -0700, "Peter Duniho"
<Np*********@nn owslpianmk.comw rote:
>OS kernel? I suppose that depends on what kind of hardware you want that kernel to run on, and what you expect it to do. I'd say generally the answer would be "no", but I can imagine some very simple "OS kernel"-like projects where C# would probably work fine.
Why do you ask?
Because I'm studying C# and I like it very much, and I'm interested in
the "scope" of the language; while I think it's fine to write apps in
C#, I was interested to understand if it is OK also to write more
low-level software using it.
I read about an experimental C# OS called Singularity.
MrAsm
MrAsm wrote:
Is it possible to write system level software in C#?
(Of course, I'm not thinking about HAL.)
But would be C# OK to write an OS kernel?
...Or a web browser?
I am not sure I will call a web browser for system level software.
You can definitely write a browser in C# even though I am not
aware of anyone doing so.
An operating system will require some native code but huge
parts could be done in managed code.
Checkout http://en.wikipedia.org/wiki/Singula...erating_system)
for what can be done.
Arne
It's a wrapper.
Tons of C# components are just wrappers around good-ole COM.
As for the system-level - well, you can work with files, registry, network,
web, comm. ports, write a service, create a process, create threads, do some
fancy graphics, etc.
You most likely won't be able to write a brand-new OS in C#, since any .Net
app will require CLR, which in turn will require Windows. You can probably
write some OS that will run inside Windows, for an exercise.
"MrAsm" <mr***@usa.comw rote in message
news:ce******** *************** *********@4ax.c om...
On Sat, 02 Jun 2007 03:29:41 -0700, Hakan Fatih YILDIRIM
<hf*********@gm ail.comwrote:
>>Web browser.. hmm check out the web browser component in .net 2.0.
Is the web browser component in .NET written entirely in C#, or is it
a wrapper around a COM component written in C++?
MrAsm
On Sat, 2 Jun 2007 09:47:26 -0700, "Ashot Geodakov"
<a_********@nos pam.hotmail.com wrote:
>It's a wrapper.
Tons of C# components are just wrappers around good-ole COM.
Thank you for these information.
I think that it does make sense for Microsoft engineers to reuse
alread developed and tested COM C++ components, wrapping them in C#.
However, I wonder if it would be possible to write these components
from scratch in C#, or if there would be performance problems that
force to use C++.
MrAsm This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Rob Tweed |
last post by:
I have a customer who is having problems when their Windows
2000/IIS/PHP-based system begins to experience a level of loading that
isn't, in my view, unreasonably high. I'm wondering what others
think, specifically:
- are these volumes, for this kind of configuration, at or beyond the
levels at which PHP should be able to cope? I hope not !
- what might be done to alleviate these problems? One of our
suspicions is that Windows...
|
by: Mohit Gupta |
last post by:
Hi all,
I am just new to VB .Net development arena. Previously I have used VB lot for developing software. As far as I know, in VB to use system level calls, such as, keybd_event, I had to write "Declare sub ........ " (Hope you understand what I mean).
I want to call the same system level procedure using VB .net. May I know how I can achieve it?
Thanks
|
by: Ais |
last post by:
Hi..
Presently i'm trying to install IBM Db2 Software on my Windows XP
Operating systems.
I'm using IBM(R) DB2(R) Universal Database Enterprise Server Edition,
Version 8.1.
After installation of the Above , i installed DB2 service Pack
FP5_WR21334_ESE.
|
by: wally |
last post by:
There is a brilliant application that allows you to wrap your EXE and all
associated DLLs, OCXs, etc. into a single executable and run the executable
on Windows OSs with no install and nor registration of the files. It will
even include only the portions of the .Net framework that are required for
your application.
The app is called Thinstall. the problem is the cost. $4,000 license fee
PER APPLICATION PLUS A PER PC LICENSE FEE for...
|
by: Xah Lee |
last post by:
REQUIREMENTS FOR A VISUALIZATION SOFTWARE SYSTEM FOR 2010
Xah Lee, 2007-03-16
In this essay, i give a list of requirements that i think is necessary
for a software system for creating scientific visualization for the
next decade (2007-2017).
(for a HTML version with images, please see
http://xahlee.org/3d/viz.html )
| |
by: leoman730 |
last post by:
This is one of the interview question this morning, hope someone can
help out with this. Thanks.
What is the different between System call and library call?
|
by: Polaris |
last post by:
Hi:
Anyone can explain the concept of "System Level Applications"? An example?
Thanks in Advance!
Polaris
|
by: omkar pangarkar |
last post by:
Hi all,
I have two simple hello world programs one using printf() and other using write()
--prog 1--
#include<stdio.h>
#include<stdlib.h>
int main() {
printf("Hello"); /* up to here write() isn't called, if u
* give \n here then two write()s will
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |