Windows MSVC
  • 개발자 명령 프롬프트(Developer Command Prompt)실행해서 확인
  • Visual Studio가 설치되어 있다면 검색에서 'Developer...' 입력하면 프롬프트을 확인할 수있다
  • 명령어 cl /LD /EHsc example.cpp /Fe:example.dll 을 입력하면 dll을 만들 수 있다
    cl /LD /EHsc example.cpp /Fe:example.dll
  • 예제 소스 코드
    // example.cpp
    #include <cstring>
    
    #if defined(_WIN32)
      #define EXPORT extern "C" __declspec(dllexport)
    #else
      #define EXPORT extern "C"
    #endif
    
    // int 두 개 더하기
    EXPORT int add_ints(int a, int b) {
        return a + b;
    }
    
    // double 두 개 곱하기
    EXPORT double mul_doubles(double x, double y) {
        return x * y;
    }
c++ Desktop develope kit 설치
  • 만약 cl 이 없다면 추가 설치가 필요하다
  • c++을 이용한 데스크톱 개발을 체크하고 업데이트를 해주면 된다

구글 트렌드에서도 핫하고, star history에서 핫한.. 배워야 할것 같다

AI 모델과 실제 서비스를 하는 표준연결방식이라고 한다

 

커서AI에서 MCP서버로 Redis DB를 연결하면 이제 채팅으로 SQL없이 DB조회가 가능해진다 

물론 이전부터 있었지만 깔끔한 표준이라고 한다

 

 

 

 

 

 

 

https://modelcontextprotocol.io/introduction

 

Introduction - Model Context Protocol

Understand how MCP connects clients, servers, and LLMs

modelcontextprotocol.io

 

https://github.com/astral-sh/uv?tab=readme-ov-file#projects

[GitHub - astral-sh/uv: An extremely fast Python package and project manager, written in Rust.

An extremely fast Python package and project manager, written in Rust. - astral-sh/uv

github.com](https://github.com/astral-sh/uv?tab=readme-ov-file#projects)

  • pip 보다 빠르고 관리가 편하다고 왠지 새로운 트렌드가 될것 같다.

'프로그래밍 언어 > Python' 카테고리의 다른 글

np.ndarray == None ? is None  (0) 2025.03.19
Torch의 unsqueeze(), unsqueeze_()  (0) 2025.03.19
집합 자료형 - set  (0) 2025.03.11
Python swapcase()  (0) 2025.03.02
python icecream 패키지  (0) 2025.03.02

+ Recent posts