kotlinx-sockets - Kotlinx coroutines sockets

  •        60

Kotlinx.sockets is a library to bring rich coroutines experience to NIO sockets, eliminate terrible callbacks and selector loops and related difficult code. With the library and kotlin coroutines you can simply write async NIO code in usual synchronous style.

https://github.com/cy6erGn0m/kotlinx-sockets
https://github.com/cy6erGn0m/kotlinx.sockets

Dependencies:

org.jetbrains.kotlin:kotlin-stdlib:1.1.2-3
org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:0.15
org.jetbrains.kotlinx:kotlinx-coroutines-nio:0.15

Tags
Implementation
License
Platform

   




Related Projects

kotlin-coroutines-retrofit - Kotlin Coroutines await() extension for Retrofit Call

  •    Kotlin

Based on kotlinx.coroutines implementation. NOTE: All examples in this README use runBlocking to build coroutine but it is only useful for testing or examples.

kotlinx.coroutines - Library support for Kotlin coroutines

  •    Kotlin

Library support for Kotlin coroutines in Kotlin/JVM and Kotlin/JS. This is a companion version for Kotlin 1.2.21 release. Note that these libraries are experimental and are subject to change.

ktx - LibKTX: Kotlin extensions for LibGDX games and applications

  •    Kotlin

Kotlin utilities for LibGDX applications. KTX aims to make LibGDX as Kotlin-friendly as possible without turning the API upside down. It provides modular utilities for certain parts of LibGDX with poor Kotlin support. This is not a new framework by any means - but Kotlin certainly makes LibGDX feel like one.

kotlin-coroutines - Design documents and examples for coroutines in Kotlin

  •    

In this repository, we keep track of the design for coroutines in Kotlin. It is logically a part of KEEP.


kotlin-coroutines-examples - Design documents and examples for coroutines in Kotlin

  •    

This repository contains examples for Kotlin Coroutines Design.

AsyncAwait - async/await for Android built upon coroutines introduced in Kotlin 1.1

  •    Kotlin

As you see in the example above, you can write asynchronous code in a imperative style, step by step. Calling await to run code in background doesn't lock the UI thread. And execution continues in UI thread after background work is finished. There is no magic, see how it works. Use it to show loading progress, its second parameter is a progress handler.

crweather - Android demo app with kotlin coroutines and architecture components library

  •    Kotlin

Android demo app with kotlin coroutines and architecture components library

Ktor - Framework for quickly creating connected applications in Kotlin with minimal effort

  •    Kotlin

Ktor is a framework for quickly creating web applications in Kotlin with minimal effort. Ktor Framework doesn't impose a lot of constraints on what technology a project is going to use – logging, templating, messaging, persistent, serializing, dependency injection, etc. Sometimes it may be required to implement a simple interface, but usually it is a matter of writing a transforming or intercepting function. Features are installed into application using unified interception mechanism which allows building arbitrary pipelines.

retrofit2-kotlin-coroutines-adapter - A Retrofit 2 adapter for Kotlin coroutine's Deferred type.

  •    Kotlin

A Retrofit 2 CallAdapter.Factory for Kotlin coroutine's Deferred. Your service methods can now use Deferred as their return type.

awesome-asyncio - A curated list of awesome Python asyncio frameworks, libraries, software and resources

  •    

A carefully curated list of awesome Python asyncio frameworks, libraries, software and resources. The Python asyncio module introduced to the standard library with Python 3.4 provides infrastructure for writing single-threaded concurrent code using coroutines, multiplexing I/O access over sockets and other resources, running network clients and servers, and other related primitives.

Java NIO Socket Framework

  •    Java

A Java 1.4 based NIO socket framework. This hides the (dirty) details of non-blocking IO from developers, allowing them to EASILY build a highly scalable application, which can handle over 10000 incoming and outgoing sockets using only one thread.

asyncoro

  •    Python

Python framework for asynchronous, concurrent, distributed programming

iPoli-android - Fun & Motivational Todo List with Calendar for Android written in Kotlin

  •    Kotlin

myPoli combines Calendar, ToDo list and Habit tracking app, all in one place to give you the best way to achieve your goals! Find time to exercise, learn new skills, focus deeply on meaningful work, stick to good habits and free you from the burden of scheduling tasks by yourself.

dispy

  •    Python

Python framework for distributed and parallel computing

libdill - Structured concurrency in C

  •    C

Libdill is a C library that makes writing structured concurrent programs easy. There is no interaction between threads. Each thread is treated as a separate process. Channels are always unbuffered. Coroutines can be canceled. Generally speaking, though, libdill's concurrency primitives are only a bit slower than basic C flow control statements. A context switch has been seen to execute in as little as 6 ns, with coroutine creation taking 26 ns. Passing a message through a channel takes about 40 ns.

libmill - Go-style concurrency in C

  •    C

Libmill is a library that introduces Go-style concurrency to C. It can execute up to 20 million coroutines and 50 million context switches per second. It also contains simple networking and file access library that allows users to quickly bootstrap application development.

curio - Curio - The Small Coroutine Library You Were Warned About

  •    Python

Curio is a library of building blocks for performing concurrent I/O and common system programming tasks such as launching subprocesses, working with files, and farming work out to thread and process pools. It uses Python coroutines and the explicit async/await syntax introduced in Python 3.5. Its programming model is based on cooperative multitasking and existing programming abstractions such as threads, sockets, files, subprocesses, locks, and queues. You'll find it to be small, fast, and fun. Curio has no third-party dependencies and does not use the standard asyncio module. Most users will probably find it to be a bit too-low level--it's probably best to think of it as a library for building libraries. Although you might not use it directly, many of its ideas have influenced other libraries with similar functionality.

Jooby - A Scalable, fast and modular micro web framework for Java

  •    Java

Jooby a scalable, fast and modular micro web framework for Java. Write your application in Java or JavaScript. It supports Express.js, Sinatra, Scripting programming model. It also supports Spring like MVC model. NIO web servers, Caching, Web sockets, Dependency Injection and lot more.

Grizzly - NIO Event Development in Java

  •    Java

The Grizzly NIO framework has been designed to help developers to take advantage of the Java NIO API. Grizzlys goal is to help developers to build scalable and robust servers using NIO as well as offering extended framework components: Web Framework (HTTP/S), WebSocket, Comet, and more!