Jump to content

Recommended Posts

Posted (edited)

As an professional .NET Programmer, i want to say few things.

 

Java to C#

I read many of your comments that are talking about simple porting from Java to C#, so it still suck!. I could say that i agree with you. However, byself, C# offers many benefits that make it better even if it is simple copy/paste to other language.

 

C#, byself is about 34% faster than Java and in MANY cases can be 200%+.

 

You can achieve much better/faster/stable lineage 2 server with changing some parts. Like Database communication, Networking etc. These processes can be much much faster in C# and it is not big work.

 

As about DDOS,

 

Don't joke yourself. Even C++/ASM Server will crush after a high DDOS Attack. Nowdays nobody use "exploits" of your code to take down your server.

 

Before few years where java had many security issues, we could say that C# can beat exploiters... Now, 2016, both languages offers you security (even with bad code).

Edited by Kappalol
Posted

As an professional .NET Programmer, i want to say few things.

 

Java to C#

I read many of your comments that are talking about simple porting from Java to C#, so it still suck!. I could say that i agree with you. However, byself, C# offers many benefits that make it better even if it is simple copy/paste to other language.

 

C#, byself is about 34% faster than Java and in MANY cases can be 200%+.

 

You can achieve much better/faster/stable lineage 2 server with changing some parts. Like Database communication, Networking etc. These processes can be much much faster in C# and it is not big work.

 

As about DDOS,

 

Don't joke yourself. Even C++/ASM Server will crush after a high DDOS Attack. Nowdays nobody use "exploits" of your code to take down your server.

 

Before few years where java had many security issues, we could say that C# can beat exploiters... Now, 2016, both languages offers you security (even with bad code).

 

Stop with this absurd bullshit, C# isn't 30% or 200%+ faster than java, java gains metal performance after warm-up thanks to JIT. The only overhead thereafter is the exception handling that the language provides by its nature which adds another procession layer ontop of the needed calculation, but oh wait, both languages do the same don't they? Unlike C++ C# doesn't get rid of the exception handling overhead same as java so they are bottlenecked by the same overhead.

 

Now get your shit straight from a real pro and you should trust me on that since I am a fluent C/C++, Java programmer that also has thousandsof lines of code in C# and Python:

 

No language is faster, every language sacrifices performance on a field to gain on another, saying that C is slower than java simply because its slower on a complex algorithm is utter bullshit. The designers behind these languages sacrificed features or performance to gain it somewhere else.

 

C# is not bad, but its not good, it tries to do what Java does but only on platforms that support .NET (windows only) don't tell me about Mono or wine they are both virtual and the overhead makes it slow as fuck. C# exists for marketing reasons in favor of Microsoft, it binds programmers / users to its own frameworks, platforms and tools -> PROFIT.

 

OF COURSE I am not that stupid to claim that C# sucks, its a good tool but well too pseudo-hyped from its programmers

Posted

Java is actually leaching features that C# had for ages.

 

Lambda expessions is LINQ that C# had forever,

Try with resources was using that C# had forever.

 

They are different languages. Also C# can run natively without a VM running on the pc with .NET CORE.

Java still needs JRE to run.

 

It is a fact that Java and C# are very different and if someone wants to be someone then the last 4 years show that java wants to be C#, even though that wasn't the case 4 years ago.

 

Nice shitstorm, if you say anywhere that Java or any "Java" is leaching features programmers are gonna laugh at you. Java follows a simple and elegant design pattern, the developers and designers behind it want a straight-forward language with not many features/eye candies yet capable of implementing solutions for very complex problems. As I said before, features and performance may be sacrificed for the sake of the language's policy but I am pretty sure you didn't get that.

 

C# is very huge compared to Java, yet Java can do anything C# can, I am not gonna keep up arguing this, its gonna be like NVIDIA vs AMD conv.

 

About .NET CORE, I don't know what this is and I am not gonna google search this, if I want native code I will choose WIN32 C/C++ and I'm probably even gonna deliver faster than some .NET CORE wannabe. Probably .NET CORE packs a minimal and light VM into the executable or on the .NET libraries that come with windows updates and has real time hotspot. Same things exist for Java since ages and they suck, java was never meant to run on metal, the guys behind Java are C programmers.

Posted (edited)

There is no maybe. There are facts and benchmarks. Check it for yourself.

 

I'm not the one comparing one language to another and trying to convince everyone about how better my lang is.

 

I have several app on google play and they are written in java and several app in app store written in Objective C and Swift.

 

I use the write tool for the write job and whatever fits the needs of the situation when im working on a professional level.

 

 

BTW something to check

 

https://github.com/aspnet/benchmarks

 

Ofc benchmarks are not real life scenarios and you will obviously have performance bottlenecks but that 1.2m req/sec cannot be ignored.

 

Stack Server Req/sec Load Params Impl Observations

ASP.NET Core on Kestrel perfsvr 1,174,881 32 threads, 256 connections Middleware class, multi IO thread CPU is 100%

ASP.NET Core on Kestrel perfsvr2 (Linux) 928,023 32 threads, 256 connections Middleware class, single IO thread

 

(Keep in mind im a web developer and that's what i am concerned about)

 

Don't give me benchmarks, don't make me say for a 3rd time that I REALLY know that there are cases that one language outperforms the other even if they are on the same level... C# is greatly favored over Java because C# runs on its home platform, the windows and its specially optimized for it. Now try some Linux benchmark, Java can still be slower on some cases but not on the same ratio it does on WIN.

Edited by xxdem
Posted

Are you blind? "ASP.NET Core on Kestrel perfsvr2 (Linux) 928,023 32 threads, 256 connections Middleware class, single IO thread"

 

Ah fuck it why am I even spending my time with you. You know everything and no one else knows a thing anyway.

 

Didn't read, not wasting my time with benchmarks

Posted

The last thing i am is butthurt. Your replies on the other hand sound so ignorant and butthurt, that im enjoying every little bit of your pathetic crybaby behavior.  >:D  >:D

 

yeah, whatever 

  • 3 months later...
Posted

Some updates over the weekend from Mart.

 

  • Added empty class packet RequestSkillCoolTime missing and throwing exception after EnterWorld (0x9D)
  • Update LastAccess atribute from character table on EnterWorld (using UpdateCharacter service) [Removed LastAccountAccess since it was never used]
  • Using LastAccess now to auto select char after login, based on latest valid selection (need rework)
  • Changed some Console.WriteLine to log4net logger
  • Changed GameServer/LoginServer to Async methods (removing "while" eternal loop, old methods as comments, don't know possible bugs caused by async)
  • Other minor changes
Posted

Weekend update

  • Fixed equip and unequip functionality
  • Added //spawn "mob name" and //spawn "id" functionality.
  • Now all NPCs are being spawned on server startup. They have no AI tho :(

 

ntD54qb.jpg

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



  • Posts

    • try this one instead. The one he shared affects every single NPC/player character in the game, the one I posted only affects player characters  https://drive.google.com/file/d/1UtccbD9e50x3WEnQBab2PTZnBHwpcGYM/view?usp=sharing or perhaps i misunderstood; if you could please post a full explanation of the problem you're having with the files, unfortunately i think whatever you're using to translate to english is a bit bad nevermind, i got what you mean, here's the fix   https://drive.google.com/file/d/1av7OHaGSdnVQtcBgb9MhtiIkxVXy3P2y/view?usp=sharing   CanIngnoreCollision=True CanBeIngnoredCollision=True  
    • <dailyReward days="28" autoOpen="true" minimumOnlineTimeSeconds="30" oneRewardPerIP="true" resetIfMissDay="true">   For now, I have these settings in the XML—this is the V1 version I created, though I plan to make further improvements over time. Of course, I’ll also add more protections—MAC, HWID, and perhaps others like account-based restrictions—to make it more secure. We can also implement non-tradable items to further enhance the system's security. I’ll keep posting updates and refining both the system and the interface. I might make a video tomorrow; if you look at the top, you'll see the "auto-open" feature can be toggled on or off, allowing users to rely solely on the `.daily` command. Cheers! Note: If I sell it in this state, I’ll provide support and roll out updates to users. I’m not forcing anyone to buy anything; I’d even provide the patch files so that anyone with the necessary skills can add features, modify it, or improve it further.
    • If the problem is that the target is lost, the action of aiming at another character, upon losing collision, does not allow aiming.   This one works as it should, allowing you to target characters
    • MICROTEXT AND WATERMARKS BREAK MOST RENDERINGS Microtext and watermarks aren’t just small decorative details. They are one of the most common reasons a document fails verification, even when it looks decent at first glance. The issue is that these elements are almost impossible to reproduce “by eye.” Microtext requires precise geometry and legibility at a very small size, while a watermark needs the correct density, transparency, and accurate placement relative to other security features. Any deviation becomes obvious during detailed inspection. ▪ What’s most often done wrong: - microtext is drawn too thick or blurry - the watermark is made either too visible or almost invisible - the positioning between microtext and watermark is ignored - the original printing technology isn’t taken into account when choosing density and shape - The stronger the document’s security features, the less room there is for approximation. What matters here isn’t visual similarity, but accurate reproduction of the original technical characteristics. If your document contains microtext and watermarks, this is always an area that requires extra attention. Write to us in DMs. We’ll review your case and point out exactly which details need the highest precision during rendering. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #drawing #microtext #photoshop #editing #watermarks
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..