[DiscordArchive] "some"?
[DiscordArchive] "some"?
Archived author: Fabian • Posted: 2021-02-26T15:16:32.456000+00:00
Original source
in java that part rlly sucks
Archived author: ZaDarkSide • Posted: 2021-02-26T15:16:48.987000+00:00
Original source
GC in Java is really bad
Archived author: ZaDarkSide • Posted: 2021-02-26T15:17:19.535000+00:00
Original source
that's why i love C# <@!236179003780759552>
Archived author: JORGIE • Posted: 2021-02-26T15:17:39.490000+00:00
Original source
No,
Archived author: MaxtorCoder • Posted: 2021-02-26T15:17:47.038000+00:00
Original source
Yes.
Archived author: ZaDarkSide • Posted: 2021-02-26T15:17:53.212000+00:00
Original source
C# and Java are similar as the way they work they both use a VM
Archived author: ZaDarkSide • Posted: 2021-02-26T15:18:21.472000+00:00
Original source
but language syntax looks way cleaner for me than Java
Archived author: JORGIE • Posted: 2021-02-26T15:20:02.006000+00:00
Original source
```java
return HttpServer.create().runOn(LoopResources.create(SysProperties.PORTAL_SERVER_IO_THREAD_NAME,
SysProperties.PORTAL_SERVER_IO_SELECT_COUNT, SysProperties.PORTAL_SERVER_IO_WORKER_COUNT, true),
SysProperties.PORTAL_SERVER_IO_PREFERNATIVE)
.secure(sslContextSpec -> {
InputStream certChainInputStream = getClass().getResourceAsStream(SysProperties.PORTAL_SERVER_CERTIFICATES_FILE);
InputStream keyInputStream = getClass().getResourceAsStream(SysProperties.PORTAL_SERVER_PRIVATE_KEY_FILE);
sslContextSpec.sslContext(SslContextBuilder.forServer(certChainInputStream, keyInputStream));
}).route(routes -> {
routes.get("/bnetserver/login/", handler::loginGet);
routes.post("/bnetserver/login/", handler::loginPost);
routes.get("/bnetserver/gameAccounts/", handler::loginPost);
routes.get("/bnetserver/portal/", handler::portalGet);
routes.post("/bnetserver/refreshLoginTicket/", handler::refreshLoginTicketGet);
}).bindAddress(() -> new InetSocketAddress(bindIp, port))
.bindNow();
```
Archived author: MaxtorCoder • Posted: 2021-02-26T15:20:29.921000+00:00
Original source
That's an ew for me.
Archived author: ZaDarkSide • Posted: 2021-02-26T15:20:37.261000+00:00
Original source
that's Java allright