Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[Official] Eclipse.NET


JeffSventora
 Share

Recommended Posts

> I'm very curious for the scripting part Jeff. Did you use Roslyn or CodeDOM for the compilation ?
>
> Also, for the "go simple" part, why did you chose .Net scripting instead of javascript/ruby/any-other-scripting-engine ?

I chose CodeDom for the scripting. And I chose .NET scripting for the simple fact that if anyone wants to use the engine and modify it, they have to do so in C# so why not make C#the scripting standard as well?
Link to comment
Share on other sites

  • Replies 337
  • Created
  • Last Reply

Top Posters In This Topic

Without wanting to be pushy, or impatient, when do you expect a "working" version to be released? At least, what sort of time-frame are you looking at it? ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)
Link to comment
Share on other sites

Quickly looking over the code, I just have a few suggestions to improve performance.

1) You seem to be calling GC.Collect() quite a few times. The .NET garbage collector has gotten rather efficient at cleaning up and manually invoking it can do more harm than good in certain situations. It's best to let it work on it's own, unless memory usage grows too much.

2) You should consider using the "using" statement. Not only does it make code cleaner, it also ensures that you do not forget to dispose objects, especially if you are using multiple disposable objects at a time.

For example, in your code, you have this:

```

public void ToBinary(string File)

{

FileStream Fstream = new FileStream(File, FileMode.Create);

BinaryWriter Writer = new BinaryWriter(Fstream);

{

// Write out Account

Writer.Write(UserName);

Writer.Write(Password);

Writer.Write(Email);

}

Writer.Close();

Fstream.Close();

}

```

With "using", it would look like this:

```

public void ToBinary(string File)

{

using (FileStream Fstream = new FileStream(File, FileMode.Create)) {

using (BinaryWriter Writer = new BinaryWriter(Fstream)) {

// Write out Account

Writer.Write(UserName);

Writer.Write(Password);

Writer.Write(Email);

}

}

}

```

Does the same thing, and, as I hope you'll agree, it is much cleaner!

Other than that, this project looks to be on a good start so best of luck to you and everyone else helping out!
Link to comment
Share on other sites

I appreciate the tips Raichu!. You're right about the GC.Collects, I do it out of bad habit. I work in C++ every day so when I code in C# it bothers me never calling "delete" lol.

As for the using statements, I used to use them. But here's why I don't: For me, when I read code I look at the begin points and end points of blocks. It comforts me to see the new followed by the close. But again, it has to do with my C++ habits. The using statements is nice, C# provides it and I might as well use it huh? ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)

@Synergy, hard to tell right now. It would be safe to assume that within the next month or two, a big release will definitely be present.
Link to comment
Share on other sites

> Hey guys just so you know, updates will probably come a bit slower. I failed my most recent class, probably has something to do with programming this during lecture xD Anyways, really need to take my time to focus this month, work WILL get done, but not as fast.

'Real life' always comes first. And a few months.. I can wait for that. ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)

Also, I was thinking about learning C# - are there any tutorials or books you'd recommend for learning it? My programming knowledge is low, so assume zero programming knowledge. ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)
Link to comment
Share on other sites

Lol, Like a real man mate ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png). Priorities, they suck dont they!
Link to comment
Share on other sites

Hey guys just a little update:

I'll be working on the interface implementation along with BielCations while crzy the hated works on the registration system. Progress is coming along nicely. I'll post back soon with something to show ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
Link to comment
Share on other sites

> Hey guys just a little update:
>
> I'll be working on the interface implementation along with BielCations while crzy the hated the hated works on the registration system. Progress is coming along nicely. I'll post back soon with something to show ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)

I'm really excited about this engine. Can't wait to see the final result. Keep it up! ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png)
Link to comment
Share on other sites

> Well registration is almost done. Just have to add in the networking. school got in the way, but monday I should finish. Then im also waiting for him to change from git to svn, because for some reason git hates my computer and won't work with https links lol

instead of svn, try Mercurial. It's similar to git, and doesn't suffer from the problems that svn does.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...