flat assembler
Message board for the users of flat assembler.

Index > Heap > c#

Author
Thread Post new topic Reply to topic
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
been trying to learn this...
but, why i should learn another more layer above the api?

...idk, but i just wanna give up.. this is crap.
Rolling Eyes

they make it to manage another form in same application harder than vb6.. i guess you can imagine that. Shocked
Post 29 May 2009, 17:50
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
The only reason I can think is because there are lots of jobs for C# and Java nowadays.

But they're mostly for commercial database stuff.

Let's get real: real life, reliable applications are coded in C++.

MS claims the hell out of .NET but see MS Office, IE, Firefox, Opera, Windows Live Messenger, etc. It's all C++, maybe with a bit of C and ASM.

If you want to build powerful C++ applications with GUI I recommend: Ultimate++ ( http://www.ultimatepp.org/) or Wxwidgets ( www.wxwidgets.org ) for large apps.
FLTK ( www.fltk.org ) for small apps.

I use these tools with Code::blocks IDE and Mingw and VC++ compilers.

Forget C# if you're not being paid for it, IMHO.
Post 29 May 2009, 19:00
View user's profile Send private message Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 764
Location: Massachusetts, USA
bitshifter
The Win32 API was coded in C which is my favorite language.
C++ is fun if you like to classify stuff (but with tons of overhead).
All these high level languages are leaving the programmer ignorant.
I had started by learning C++ and wanted to get lower level so
then i learned C and seen how much C++ sucks, then i learned
assembly and realized how stupid i really was after all this time.
I guess there is a need for HLL when you have big proj and deadline.
Its just not something that i enjoy as much as lower level langs.
Post 29 May 2009, 19:13
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
is there fasm rad ? ...
why not just just a simple language that follow general logic and... just do the job. instead of searching here and there...

eg. like + - * / (once u knew it, you just knew it).

damn... these languages keep piss me off.
Post 29 May 2009, 19:36
View user's profile Send private message Reply with quote
HyperVista



Joined: 18 Apr 2005
Posts: 691
Location: Virginia, USA
HyperVista
sleepsleep wrote:
is there fasm rad ? ...
Yep ... just send a chat request to MazeGen
http://www.board.flatassembler.net/topic.php?t=10211
Laughing
Post 29 May 2009, 19:43
View user's profile Send private message Visit poster's website Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
Quote:

Yep ... just send a chat request to MazeGen

hehe.

btw, if there possible for to when using javascript in a HTML page, but call to a win32 dll ?

coz interface is easy and comfortable to write in HTML & CSS
event processing is easily done with javascript.
business logic inside DLL.

are these ideas possible?
Post 29 May 2009, 20:31
View user's profile Send private message Reply with quote
drhowarddrfine



Joined: 10 Jul 2007
Posts: 535
drhowarddrfine
Not from the browser for security reasons but you can using Firefox right now using Prism which is javascript and XML.
Post 30 May 2009, 01:10
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
thanks drhoward.
i am checking da adobe air after reading google for prism.
..
Post 30 May 2009, 03:39
View user's profile Send private message Reply with quote
Borsuc



Joined: 29 Dec 2005
Posts: 2466
Location: Bucharest, Romania
Borsuc
bitshifter wrote:
The Win32 API was coded in C which is my favorite language.
C++ is fun if you like to classify stuff (but with tons of overhead).
All these high level languages are leaving the programmer ignorant.
I had started by learning C++ and wanted to get lower level so
then i learned C and seen how much C++ sucks, then i learned
assembly and realized how stupid i really was after all this time.
I guess there is a need for HLL when you have big proj and deadline.
Its just not something that i enjoy as much as lower level langs.
C & asm complement each other perfectly in my opinion.

_________________
Previously known as The_Grey_Beast
Post 30 May 2009, 15:33
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
is there popular IDE that include form designer that output C code only?
Post 30 May 2009, 17:20
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
i think...
i fall in love with open watcom.
Post 30 May 2009, 22:15
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
sleepsleep wrote:
is there popular IDE that include form designer that output C code only?


What do you mean generating C code? If you means .rc files, then Pelles C is good IDE;
Post 31 May 2009, 03:34
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
sleepsleep wrote:
is there popular IDE that include form designer that output C code only?


What's so good about Open Watcom?
Post 31 May 2009, 03:35
View user's profile Send private message Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 764
Location: Massachusetts, USA
bitshifter
Borsuc wrote:
C & asm complement each other perfectly in my opinion.
Yes, i agree, they are both my top two favorite languages. Razz
There are many fading languages out there but C and asm will be around forever.

_________________
Coding a 3D game engine with fasm is like trying to eat an elephant,
you just have to keep focused and take it one 'byte' at a time.
Post 31 May 2009, 03:51
View user's profile Send private message Reply with quote
pal



Joined: 26 Aug 2008
Posts: 227
pal
Agreed. Higher languages just don't give you the control you need. I have known VB for 4.5 years, I wish I had spent that time learning ASM or C. I just wish there was a C compiler which used fasm for inline asm, rather than like tasm et al.
Post 31 May 2009, 07:44
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 821
Location: Jakarta, Indonesia
TmX
OzzY wrote:

What's so good about Open Watcom?


open watcom has its own dialog editor

Image

btw, i think their C compiler is pretty good
but the C++ still needs some works to do... Wink
Post 31 May 2009, 08:46
View user's profile Send private message Reply with quote
sleepsleep



Joined: 05 Oct 2006
Posts: 8885
Location: ˛                             ⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣⁣Posts: 334455
sleepsleep
so far, after several hours,
my experience with openwatcom ide ... still kinda satisfied.

but, i must admit that, the ms visual studio c# ide, especially the form/dialog creation part is really amazing.

eg, they can let you align ur controls easily, and double click immediately go to coding part for you to input, and the event selection part.

the align process really nice, i must admit, i really like that behaviour.
Post 31 May 2009, 18:26
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
Pelles C also has a dialog editor, along with editor with code completion, C help files, etc.
Post 31 May 2009, 18:41
View user's profile Send private message Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
Actually, I forgot to mention. My favorite programming language/framework is now Tcl.

Tcl is an interpreted language, which has these features: easy to use, is a programmable and flexible language (meta-programming), cross-platform, has it's own GUI toolkit (called Tk), regular expressions, sockets, huge library, unicode, etc.

It has a great community at http://wiki.tcl.tk and #Tcl at irc.freenode.net.

With Tcl you can have the power of writing apps quickly and deploying single 1 mb executables, and the user won't require to have Tcl installed.
You do this with starpacks, which is a way of bundling a tiny Tcl runtime available at http://www.equi4.com/tclkit/ with your scripts, images, etc in a single self-contained .EXE file (on windows) or regular binary on Linux, Unix, etc.
All of this with Virtual File System inside, so you can read/write directly to the files inside the EXE without extracting.

A GUI app is as easy as:
Code:
# Comments start with # character
# Import the Tk module for GUI
package require Tk

# . is the root window
# Here we define a button called b inside the window .
button .b -text "OK" -command exit
# The button has the text "OK" and executes the command exit when clicked

#Here we show the button at the window
pack .b
# Tk takes care of placing at the right position
    


If we need native looking widgets just use the new ttk:: widgets:

Code:
package require Tk 8.5
# version 8.5 is required for native theming

ttk::button .b -text "OK" -command exit
pack .b
    


This code shows how to create a window, with a button labeled "OK" that quits the program when clicked.

Try to create GUIs with less code in any other language! Razz

See also: www.tcl.tk

IMHO, this language is very under rated. I prefer it over Python, Perl, etc, and sometimes even over C++ when I'm lazy! Very Happy
Post 31 May 2009, 18:54
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.