| View previous topic :: View next topic |
| Author |
Message |
DranDane
Joined: 26 Jun 2007 Posts: 54
|
Posted: Wed Mar 19, 2008 10:10 am Post subject: C# |
|
|
| Do you know why AHK is wrote in C++? Why not try to do the same think in C#? In C# it should be more easy to implement new functionalities. For example: voice recognition input, wiimote input, ... |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5721
|
Posted: Wed Mar 19, 2008 10:16 am Post subject: |
|
|
I can tell you that somebody is already doing that.. you will have to wait till the suspense ends, I guess.  |
|
| Back to top |
|
 |
DranDane
Joined: 26 Jun 2007 Posts: 54
|
Posted: Wed Mar 19, 2008 11:21 am Post subject: |
|
|
| Is it possible ti have more info about this project? |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3615 Location: Belgrade
|
Posted: Wed Mar 19, 2008 11:26 am Post subject: |
|
|
Because dotNet is slow as hell. See Ranorax for info about C# automatizers. _________________
 |
|
| Back to top |
|
 |
DranDane
Joined: 26 Jun 2007 Posts: 54
|
Posted: Wed Mar 19, 2008 11:42 am Post subject: |
|
|
For me Shoot is the faster voice recognation software I know. Shoot is written in C#.
Last edited by DranDane on Wed Mar 19, 2008 12:06 pm; edited 1 time in total |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Mar 19, 2008 12:01 pm Post subject: Re: C# |
|
|
| DranDane wrote: | | Do you know why AHK is wrote in C++? |
| DranDane wrote: | | Shoot is wrote in C#. |
s/is wrote/is written/g |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 458
|
Posted: Wed Mar 19, 2008 3:52 pm Post subject: |
|
|
| majkinetor wrote: | | Because dotNet is slow as hell. | That's an old urban legend. While it may be true that newer frameworks are comparably slower than older ones, when your managed code gets JIT compiled it can be just as fast (or even faster) than the equivalent written in pure C. Think of it as building packages from the source in Linux rather than downloading precompiled ones for a generic arch (say gentoo > fedora).
| DranDane wrote: | | Is it possible ti have more info about this project? | Skan is just messing with ya. It has been suggested a few times that AutoHotkey should be ported other systems/languages but I doubt Chris is thinking that far just yet. |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1334
|
Posted: Thu Mar 20, 2008 6:00 am Post subject: |
|
|
| Quote: | | Skan is just messing with ya. It has been suggested a few times that AutoHotkey should be ported other systems/languages but I doubt Chris is thinking that far just yet. |
no hes not. Titan has finished it, but im not sure how well it runs |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3615 Location: Belgrade
|
Posted: Fri Mar 21, 2008 9:57 am Post subject: |
|
|
| Quote: | | That's an old urban legend. |
I don't do legends sorry. I check things on my own.
Also, I program in all dotNet languges every day on my job.
It is slow as hell, and even slower. Let me not touch the memory subject.
| Quote: | | when your managed code gets JIT compiled it can be just as fast (or even faster) than the equivalent written in pure C. |
Ye, I read that in the books too.
Well, luckily, you can discuss your opinion with the man knowing all Windows secrets:
The Coming .NET World – I’m scared _________________
 |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 458
|
Posted: Fri Mar 21, 2008 11:09 am Post subject: |
|
|
| majkinetor wrote: | | Also, I program in all dotNet languges every day on my job. ... It is slow as hell, and even slower. Let me not touch the memory subject. | I don't program for a living but experience tells me that interpreted code like ahk, java and c# are highly influenced by the compiler and code written for it. If you do not compile with optimisation, use bad reflection classes and generally poor coding standards of course your code will be slow. There does not exist something like gcc for C# with complex hybrid and low level optimisation techniques. Any smart programmer can write code that's sufficient if he/she knows what they're doing.
Have you seen the date of the article? It was written three years ago (plus I think I read it when it was published). Since then we have new runtimes (Mono, DotGNU), quad core processors, Windows Vista, patents on .NET, ECMA standardization, C# 3.0 and a lot more which forced Microsoft to up their game. I don't know when you last opened Scite/MonoDevelop/VisualStudio but things have changed, many companies rely on .net and by the sounds of it your company too. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3615 Location: Belgrade
|
Posted: Fri Mar 21, 2008 1:37 pm Post subject: |
|
|
| Quote: | | I don't program for a living but experience tells me that interpreted code like ahk, java and c# are highly influenced by the compiler and code written for it. If you do not compile with optimisation, use bad reflection classes and generally poor coding standards of course your code will be slow. There does not exist something like gcc for C# with complex hybrid and low level optimisation techniques. Any smart programmer can write code that's sufficient if he/she knows what they're doing. |
So, you imply that I don't know what I am doing ? But I am starting to realise you are dotNet fun and its pointless to discuss this with you. Acctually, if you really know programming that good as you are claiming, then I am just wondering how you can even think about porting AHK to C# cuz it sounds ridiculousl to me. Although it can be useful in specific cases, its perforamnce as general automation and script tool would suck bad. And you can always take Ranorex, as I mention. If you pay commercial version, you basicly get the same functionality as AHK, including hotkies (action keys in its definition)
| Quote: | | Have you seen the date of the article? It was written three years ago (plus I think I read it when it was published). Since then we have new runtimes (Mono, DotGNU), quad core processors, Windows Vista, patents on .NET, ECMA standardization, C# 3.0 and a lot more which forced Microsoft to up their game. I don't know when you last opened Scite/MonoDevelop/VisualStudio but things have changed, many companies rely on .net and by the sounds of it your company too. |
Ye, things did change but not enough.
| Quote: | | I don't know when you last opened Scite/MonoDevelop/VisualStudio but things have changed, many companies rely on .net and by the sounds of it your company too. |
How that reflects this story? You went the wrong direction. This has nothing do with my coding skills, but with the rest of the world.
I open dotNet applications every day, and I am xtremely careful not to start 2 at the same time I would particulary want to highlight thsi replay as it goes along my lines of thinking:
| Quote: | # re: The Coming .NET World – I’m scared
I think some of you seem to have missed an important point Mark has made here when you mention various .NET apps in isolation. A lot of the arguments go something like, "sure the app is a bit slower and takes a bit more memory but it was easier to write". But would happen if the majority or applications on the system we’re written with .NET and not just the odd one? If every process on the whole system is a bit slower and takes a bit more memory the machine as a whole will need to be faster and have more memory. I’m no expert on .NET but I often find myself wondering what is the price of its success. For example its probably ok to have the odd application lazily freeing memory during a garbage collection run but if all the application on the system done this what would happen?
I am not trying to say that either managed or native code are evil or the way to go. But I have found it difficult to find an informed opinion on the costs and benefits of .NET that isn’t a religious war. In this respect I found this article refreshing. |
So, don't get me wrong, I like dotNet, its just not appropriate here, yet. As AHK is not multitasking/scripting, it will create realy hard-core situation here - most of us run several scripts in parallel.
Ye I am sure that theoreticaly dotNet can produce equaly fast and optimised code as C++, but theoreticaly, you can make operating system in AHK too. Anyway, if you want slow and bloated but powerful automation language, I suggest you visit AU3 forum. I find that AHK is the fastest and smallest out there, and that shouldn't be changed, ever. 300KB exe doing such amount of work, around 1MB RAM usage, very fast dllcalls etc.. is if nothing else, amazing.
Cheers, and gl with your programming. _________________
 |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 458
|
Posted: Fri Mar 21, 2008 2:28 pm Post subject: |
|
|
Sorry to be so blunt but your post looks too long and boring to read. Maybe you're right, I don't have the commercial knowledge of programming because I only do it in my free time when I'm not studying. I just found your statements about .NET outdated and superfluous; I hadn't anticipated that correcting you would cause you such upset and grief as to cause a flamewar. In future I will try to ignore people with a post-totalitarian background who like to impose their monolithic views and suppress opposition and free thinkers.
Last edited by Oberon on Fri Mar 21, 2008 2:47 pm; edited 2 times in total |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3615 Location: Belgrade
|
Posted: Fri Mar 21, 2008 2:42 pm Post subject: |
|
|
lol
So, when one person has arguments and other don't, its a flame war ?
I see
Let me post a quote from your signature site:
| Quote: | I don't agree very much with Margaret Thatcher, but I'll give you a quote from her since you shared yours with me:
| Quote: | | "I always cheer up immensely if an attack is particularly wounding because I think, well, if they attack one personally, it means they have not a single political argument left." |
|
_________________
 |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 458
|
Posted: Fri Mar 21, 2008 3:22 pm Post subject: |
|
|
| majkinetor wrote: | | So, when one person has arguments and other don't, its a flame war ? | Yeah. I couldn't find a serbian translation but if you can read to the best of your abilities, check out wikipedia and urbandictionary.
| majkinetor wrote: | | Let me post a quote from your signature site: | We don't like scientologists (can't find myself on the vid :/).
| Quote: | | if they attack one personally, it means they have not a single political argument left. | I had never inferred to an ad hominem in my message, you are always suspect to such fallacies. Anyway despite how easy it would be for me, I wouldn't pwn you on this forum because it's undignified knowing how many young people browse the site. So I've resolved to disregarding you from now on. Someone once said "Please ignore my existance [sic.] from now on. I will surely do the same about you." - I couldn't have put it better myself. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 3615 Location: Belgrade
|
Posted: Fri Mar 21, 2008 3:53 pm Post subject: |
|
|
Thats great news.
I am honored to be on your ignore list  _________________
 |
|
| Back to top |
|
 |
|