language | D | C++ | C |
---|---|---|---|
domain | application, system | application, system | application, system |
latest standard | D2 | ISO C11, C14, (C17) | ISO C11 |
standard library | phobos | e.g. GNU libstdc++ | e.g. GNU libc |
design by contract | builtin | framework (e.g. nana, contract_light), compiler Digital Mars (owner is creator of D) | framework (e.g. nana, contract_light), compiler Digital Mars (ow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# License: Apache-2.0 | |
# Copyright: Florian Kromer 2020 | |
from smb.SMBConnection import SMBConnection | |
from typing import List, Union | |
from smb.base import SharedDevice, SharedFile | |
from tempfile import NamedTemporaryFile | |
class NasServerClient: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tool.poetry] | |
name = "mvp_end_device_agent" | |
version = "1.0.0" | |
description = "MVP end device agent for transfer of MS data to MQTT broker." | |
authors = ["Florian Kromer <[email protected]>"] | |
[tool.poetry.scripts] | |
mvp-end-device-agent = "mvp_end_device_agent.cli:main" | |
[tool.poetry.dependencies] |
D:\mvp-end-device-agent>poetry install -vvv
Using virtualenv: D:\mvp-end-device-agent\.venv
Updating dependencies
Resolving dependencies...
1: fact: mvp-end-device-agent is 1.0.0
1: derived: mvp-end-device-agent
1: Version solving took 0.047 seconds.
1: Tried 1 solutions.
- How to extend Python with C/C++ Code (5 min read
- C/C++ Extension for Python (5 min read)
- Building a Python C Extension Module - The process for creating a C++ extension should be very similar. However in case of C one can use cffi and ctypes to wrap C libraries.
- Python 3.9.1 docs - Extending and Embedding the Python Interpreter (long read)
- swig - Software development tool that connects programs written in C and C++ with a variety of high-level programming languages (including Python).
- cppimport - Import C++ files directly from Python!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feature | signal | telegram | threema | |||
---|---|---|---|---|---|---|
apps/OS | ||||||
Android | yes | |||||
iPhone | yes | |||||
Windows | yes | |||||
Mac | yes | |||||
Linux | yes | |||||
Web | no | |||||
backups | Android | yes | ||||
iPhone | no |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
framework | cocona | commanddotnet | commandline | command-line-api | CommandLineUtils | CliFx | ||
---|---|---|---|---|---|---|---|---|
maintenance | github contributors | 4 | 4 | 78 | 75 | 92 | 14 | |
releases | 12 | ? | 17 | 3 | 45 | 17 | ||
.NET foundation project | no | no | no | yes | no | no | ||
user acceptance | github stars | 366 | 223 | 2500 | 1800 | 1500 | 875 | |
github used by | 22 | 88 | 11900 | ? | 1900 | 51 | ||
.NET compatibility | .NET Standard 2.0+ | .NET Standard 2.0+ | .NET Framework 4.0+/.NET Standard | .NET Standard 2.0+ | .NET Framework 4.5.1/.NET Standard 1.3 | .NET Standard 2.0+/.NET Core 2.0+/.NET Framework 4.6.1+ | ||
F# support | ? | ? | yes | yes | ? | ? | ||
multi-level command hierarchies | yes | |||||||
UNIX CLI style support | yes | yes | yes |
On Ubuntu one depends on either Mono or .NET Core. This gist is about .NET Core. .NET Core installation on Ubuntu: https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu
- https://docs.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio-code
- VSCode C# Debbuging Tutorial: https://www.youtube.com/watch?v=r5dtl9Uq9V0
- VSCode Extension: https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp
- C# DLLs depend on the C# runtime, not the operating system
- understanding the .NET history
https://devblogs.microsoft.com/dotnet/announcing-net-5-0/
- single file executables for .NET Core apps can be cross-compiled on Ubuntu for Windows or Mac
- to enable usage of DLLs in apps it's useful to wrap them into NuGet packages
OlderNewer