Kotlin JUnit5
A simple JUnit 5 project with Gradle 6
GitHub: https://github.com/dickensas/kotlin-gradle-templates/tree/master/junit5
A simple JUnit 5 project with Gradle 6
GitHub: https://github.com/dickensas/kotlin-gradle-templates/tree/master/junit5
GSL library can be used for advanced math operations and vector, stats, sort, permute, fitting, matrix, fourier transform, blas integration
This code demonstration a simple matrix addition and diagonal addition in kotlin using GSL
A simple example of OSMesa driver offscreen rendering to a buffer binary array
This explains OpenGL functions can be used to indirectly manipulate a numeric array
Kotlin Code
GitHub: https://github.com/dickensas/kotlin-gradle-templates/tree/master/gtk4-gsk
This demo kotlin code explains how to render a cairo+graphene rectangle region using GSK
Kotlin Code
This is a small experiment for AVR Atmega8
GitHub: https://github.com/dickensas/kotlin-gradle-templates/tree/master/arduino-atmega8
A simple swap function which is possibly re-used inside actual avr "C/C++" code as library
This is an experimental code with few glitches
it allows Cygwin+Mingw to use GTK3 from cygwin to render opengl GLEW
GitHub: https://github.com/dickensas/kotlin-gradle-templates/tree/master/gtk3-glew
Kotlin code
GTK windows design using glade builder
GitHub: https://github.com/dickensas/kotlin-gradle-templates/tree/master/gtk3-glade3
This code explains how to use Kotlin to program GTK3 and Glade3 using Cygwin Glade designer
Install cygwin with below dependencies (basic cygwin installation explained here install R using cygwin)
Embedded OpenCL inside Kotlin
GitHub: https://github.com/dickensas/kotlin-gradle-templates/tree/master/embed-opencl
OpenCL code which runs from kotlin
#pragma OPENCL EXTENSION cl_khr_byte_addressable_store : enable
__constant char hw[] = "Hello World";
__kernel void hello(__global char * A) {
size_t tid = get_global_id(0);
A[tid] = hw[tid];
}
Kotlin code which runs OpenCL
Embedded TCL inside Kotlin
GitHub: https://github.com/dickensas/kotlin-gradle-templates/tree/master/embed-tcl
TCL code which runs from kotlin
puts "Hello, world!"
Kotlin code which run TCL
Embedded R inside Kotlin
GitHub: https://github.com/dickensas/kotlin-gradle-templates/tree/master/embed-r
Demo output
R code which is running inside Kotlin, simply add number 2 all the incoming array values and return