Cherry's Digital Space 🍒

When all else fails ... reboot.

Archives | About

Tag: rust

  •  • by
    molotovcherry
      • Programming

    Rust and Telegram Bots

    telegrambotrustteloxidetokio

    Recently I’ve been having a fun time trying my hand out with telegram and their bot api. I found a wonderful telegram bot library for Rust called teloxide. Since I can’t seem to find any good ways to get notified about which anime or manga are on my currently reading lists, I decided to make a bot that will notify me when new shows/chapters come out. This was quite the fascinating adventure!
    Read more...

  •  • by
    molotovcherry
      • Programming

    Rust JNI Macro

    rustkmagickjnikotlinproc-macrobindings

    So, during the implementation of KMagick, I came up against a problem: With hundreds of functions all needing to be wrapped in JNI calls, how was I ever going to manage creating so much boilerplate code? This led to me working hard to research the Rust AST and syn in order to create a fully working macro which autogenerates JNI FFI calls from Rust code without any effort!
    Read more...

  •  • by
    molotovcherry
      • Programming

    Killing Annoying Processes in Windows

    rustwindows-rswindows

    Mainly 2 things have been annoying me lately while working on my computer. These being, 2 incessant processes that won’t stop running and eating 90% of the CPU. Yes, I’m looking at you CompatTelRunner.exe and Software_Reporter_Tool.exe.
    Read more...


Tags